Package org.drinkless.tdlib
Class TdApi.BusinessConnectedBot
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.BusinessConnectedBot
- Enclosing class:
- TdApi
Describes a bot connected to a business account.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
User identifier of the bot.static final int
Identifier uniquely determining type of the object.Private chats that will be accessible to the bot.Rights of the bot. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a bot connected to a business account.BusinessConnectedBot
(long botUserId, TdApi.BusinessRecipients recipients, TdApi.BusinessBotRights rights) Describes a bot connected to a business account. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
botUserId
public long botUserIdUser identifier of the bot. -
recipients
Private chats that will be accessible to the bot. -
rights
Rights of the bot. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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, TdApi.BusinessBotRights rights) 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.rights
- Rights of the bot.
-
-
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-