Class TdApi.BotCommandScopeChatMember

Enclosing class:
TdApi

public static class TdApi.BotCommandScopeChatMember extends TdApi.BotCommandScope
A scope covering a member of a chat.
  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • userId

      public long userId
      User identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • BotCommandScopeChatMember

      public BotCommandScopeChatMember()
      A scope covering a member of a chat.
    • BotCommandScopeChatMember

      public BotCommandScopeChatMember(long chatId, long userId)
      A scope covering a member of a chat.
      Parameters:
      chatId - Chat identifier.
      userId - User identifier.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR