Class TdApi.BusinessConnectedBotInfo

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.BusinessConnectedBotInfo
Enclosing class:
TdApi

public static class TdApi.BusinessConnectedBotInfo extends TdApi.Object
Describes a connection of a bot to an account.
  • Field Details

    • bot

      Information about the bot.
    • connectionDate

      public int connectionDate
      Point in time (Unix timestamp) when the bot was added; may be 0 if unknown.
    • deviceModel

      public String deviceModel
      Model of the device that was used for the bot connection, as provided by the application; may be empty if unknown.
    • location

      public String location
      A human-readable description of the location from which the bot was connected, based on the IP address; may be empty if unknown.
    • CONSTRUCTOR

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

    • BusinessConnectedBotInfo

      public BusinessConnectedBotInfo()
      Describes a connection of a bot to an account.
    • BusinessConnectedBotInfo

      public BusinessConnectedBotInfo(TdApi.BusinessConnectedBot bot, int connectionDate, String deviceModel, String location)
      Describes a connection of a bot to an account.
      Parameters:
      bot - Information about the bot.
      connectionDate - Point in time (Unix timestamp) when the bot was added; may be 0 if unknown.
      deviceModel - Model of the device that was used for the bot connection, as provided by the application; may be empty if unknown.
      location - A human-readable description of the location from which the bot was connected, based on the IP address; may be empty if unknown.
  • 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