Package org.drinkless.tdlib
Class TdApi.BusinessConnectedBotInfo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.BusinessConnectedBotInfo
- Enclosing class:
- TdApi
Describes a connection of a bot to an account.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInformation about the bot.intPoint in time (Unix timestamp) when the bot was added; may be 0 if unknown.static final intIdentifier uniquely determining type of the object.Model of the device that was used for the bot connection, as provided by the application; may be empty if unknown.A human-readable description of the location from which the bot was connected, based on the IP address; may be empty if unknown. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a connection of a bot to an account.BusinessConnectedBotInfo(TdApi.BusinessConnectedBot bot, int connectionDate, String deviceModel, String location) Describes a connection of a bot to an account. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
bot
Information about the bot. -
connectionDate
public int connectionDatePoint 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-