Class TdApi.SessionTypeConnectedBot

Enclosing class:
TdApi

public static class TdApi.SessionTypeConnectedBot extends TdApi.SessionType
A business bot connected to the current user's account.
  • Field Details

    • botUserId

      public long botUserId
      User identifier of the bot. Use deleteBusinessConnectedBot to remove it or confirmBusinessConnectedBot to confirm it if it isn't confirmed yet.
    • CONSTRUCTOR

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

    • SessionTypeConnectedBot

      public SessionTypeConnectedBot()
      A business bot connected to the current user's account.
    • SessionTypeConnectedBot

      public SessionTypeConnectedBot(long botUserId)
      A business bot connected to the current user's account.
      Parameters:
      botUserId - User identifier of the bot. Use deleteBusinessConnectedBot to remove it or confirmBusinessConnectedBot to confirm it if it isn't confirmed yet.
  • 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