Klasse ChannelSubscriptionTopic
java.lang.Object
com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic<SubscriptionEventList>
com.github.twitch4j.helix.webhooks.topics.ChannelSubscriptionTopic
This webhook notifies you when:
- A payment has been processed for a subscription or unsubscription.
- A user who is subscribed to a broadcaster notifies the broadcaster of their subscription in the chat.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic
TwitchWebhookTopic.UnknownTopic -
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungChannelSubscriptionTopic(@NonNull String broadcasterId, String userId) Veraltet.Will be decommissioned after 2021-09-16 in favor of EventSub -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung
-
Felddetails
-
PATH
- Siehe auch:
-
-
Konstruktordetails
-
ChannelSubscriptionTopic
This webhook notifies you when:- A payment has been processed for a subscription or unsubscription.
- A user who is subscribed to a broadcaster notifies the broadcaster of their subscription in the chat.
- Parameter:
broadcasterId- Required. User ID of the broadcaster. Must match the User ID in the Bearer token.userId- Optional. ID of the subscribed user. Currently only one user_id at a time can be queried.
-
ChannelSubscriptionTopic
@Deprecated public ChannelSubscriptionTopic(@NonNull @NonNull String broadcasterId, String userId, String gifterId, String gifterName) This webhook notifies you when:- A payment has been processed for a subscription or unsubscription.
- A user who is subscribed to a broadcaster notifies the broadcaster of their subscription in the chat.
- Parameter:
broadcasterId- Required. User ID of the broadcaster. Must match the User ID in the Bearer token.userId- Optional. ID of the subscribed user.gifterId- Optional. ID of the user who gifted the sub. Returns an empty string for non-gifts, "274598607" for anonymous giftsgifterName- Optional. Display name of the user who gifted the sub. Returns an empty string for non-gifts, "AnAnonymousGifter" for anonymous gifts
-
-
Methodendetails
-
getBroadcasterId
- Gibt zurück:
- The user ID of the broadcaster.
-
getUserId
- Gibt zurück:
- The ID of the subscribed user.
-
getGifterId
- Gibt zurück:
- ID of the user who gifted the sub.
-
getGifterName
- Gibt zurück:
- Display name of the user who gifted the sub.
-