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.String PATH  
  • 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.String getUserId()  

    Methods inherited from class com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic

    canEqual, equals, fromUrl, getType, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • 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.