public static class TdApi.BusinessConnectedBot extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
User identifier of the bot.
|
boolean |
canReply
True, if the bot can send messages to the private chats; false otherwise.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.BusinessRecipients |
recipients
Private chats that will be accessible to the bot.
|
| Constructor and Description |
|---|
BusinessConnectedBot()
Describes a bot connected to a business account.
|
BusinessConnectedBot(long botUserId,
TdApi.BusinessRecipients recipients,
boolean canReply)
Describes a bot connected to a business account.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long botUserId
public TdApi.BusinessRecipients recipients
public boolean canReply
public static final int CONSTRUCTOR
public BusinessConnectedBot()
public BusinessConnectedBot(long botUserId,
TdApi.BusinessRecipients recipients,
boolean canReply)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object