Class UsersTopic
java.lang.Object
com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic<UserList>
com.github.twitch4j.helix.webhooks.topics.UsersTopic
public class UsersTopic extends TwitchWebhookTopic<UserList>
Notifies when a user changes information about his/her profile.
This web hook requires the user:read:email OAuth scope, to get notifications of email changes.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic
TwitchWebhookTopic.UnknownTopic -
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPATH -
Constructor Summary
Constructors Constructor Description UsersTopic(@NonNull java.lang.String userId)Notifies when a user changes information about his/her profile. -
Method Summary
Modifier and Type Method Description java.lang.StringgetUserId()Methods inherited from class com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic
canEqual, equals, fromUrl, getType, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
PATH
public static final java.lang.String PATH- See Also:
- Constant Field Values
-
-
Constructor Details
-
UsersTopic
public UsersTopic(@NonNull @NonNull java.lang.String userId)Notifies when a user changes information about his/her profile. This web hook requires the user:read:email OAuth scope, to get notifications of email changes.- Parameters:
userId- Required. Specifies the user whose data is monitored.
-
-
Method Details
-
getUserId
public java.lang.String getUserId()- Returns:
- The user whose data is monitored.
-