Class ChannelCharityCampaignMetaEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubChannelEvent
com.github.twitch4j.eventsub.events.ChannelCharityCampaignMetaEvent
- Direct Known Subclasses:
CharityCampaignProgressEvent
,CharityCampaignStartEvent
,CharityCampaignStopEvent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
An ID that identifies the charity campaign.A description of the charity.A URL to an image of the charity’s logo.The charity’s name.A URL to the charity’s website.An object that contains the current amount of donations that the campaign has received.An object that contains the campaign’s target fundraising goal.int
hashCode()
toString()
Methods inherited from class com.github.twitch4j.eventsub.events.EventSubChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName
-
Constructor Details
-
ChannelCharityCampaignMetaEvent
public ChannelCharityCampaignMetaEvent()
-
-
Method Details
-
getCampaignId
An ID that identifies the charity campaign. -
getCharityName
The charity’s name. -
getCharityLogo
A URL to an image of the charity’s logo.The image’s type is PNG and its size is 100px X 100px.
-
getCharityDescription
A description of the charity. -
getCharityWebsite
A URL to the charity’s website. -
getCurrentAmount
An object that contains the current amount of donations that the campaign has received. -
getTargetAmount
An object that contains the campaign’s target fundraising goal. -
toString
- Overrides:
toString
in classEventSubChannelEvent
-
equals
- Overrides:
equals
in classEventSubChannelEvent
-
canEqual
- Overrides:
canEqual
in classEventSubChannelEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classEventSubChannelEvent
-