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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAn 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.inthashCode()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:
toStringin classEventSubChannelEvent
-
equals
- Overrides:
equalsin classEventSubChannelEvent
-
canEqual
- Overrides:
canEqualin classEventSubChannelEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classEventSubChannelEvent
-