Class TdApi.BusinessConnectedBot

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.BusinessConnectedBot
Enclosing class:
TdApi

public static class TdApi.BusinessConnectedBot extends TdApi.Object
Describes a bot connected to a business account.
  • Field Details

    • botUserId

      public long botUserId
      User identifier of the bot.
    • recipients

      public TdApi.BusinessRecipients recipients
      Private chats that will be accessible to the bot.
    • canReply

      public boolean canReply
      True, if the bot can send messages to the private chats; false otherwise.
    • CONSTRUCTOR

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

    • BusinessConnectedBot

      public BusinessConnectedBot()
      Describes a bot connected to a business account.
    • BusinessConnectedBot

      public BusinessConnectedBot(long botUserId, TdApi.BusinessRecipients recipients, boolean canReply)
      Describes a bot connected to a business account.
      Parameters:
      botUserId - User identifier of the bot.
      recipients - Private chats that will be accessible to the bot.
      canReply - True, if the bot can send messages to the private chats; false otherwise.
  • 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