Module tdlight.api

Class TdApi.MessageChatShared

Enclosing class:
TdApi

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

    • chatId

      public long chatId
      Identifier of the shared chat.
    • buttonId

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

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • MessageChatShared

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

      public MessageChatShared(long chatId, int buttonId)
      The current user shared a chat, which was requested by the bot.
      Parameters:
      chatId - long Identifier of the shared chat.
      buttonId - int Identifier of the keyboard button with the request.
    • MessageChatShared

      public MessageChatShared(DataInput input) throws IOException
      The current user shared a chat, which was requested by the bot.
      Throws:
      IOException
  • Method Details