Class TdApi.MessageChatShared

Enclosing class:
TdApi

public static class TdApi.MessageChatShared extends TdApi.MessageContent
The current user shared a chat, which was requested by the bot.
  • Field Details

    • chat

      public TdApi.SharedChat chat
      The shared chat.
    • buttonId

      public int buttonId
      Identifier of the keyboard button with the request.
    • CONSTRUCTOR

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

    • MessageChatShared

      public MessageChatShared()
      The current user shared a chat, which was requested by the bot.
    • MessageChatShared

      public MessageChatShared(TdApi.SharedChat chat, int buttonId)
      The current user shared a chat, which was requested by the bot.
      Parameters:
      chat - The shared chat.
      buttonId - Identifier of the keyboard button with the request.
  • 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