public static class TdApi.AllowBotToSendMessages extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
Identifier of the target bot.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
AllowBotToSendMessages()
Default constructor for a function, which allows the specified bot to send messages to the user.
|
AllowBotToSendMessages(long botUserId)
Creates a function, which allows the specified bot to send messages to the user.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long botUserId
public static final int CONSTRUCTOR
public AllowBotToSendMessages()
Returns Ok
public AllowBotToSendMessages(long botUserId)
Returns Ok
botUserId - Identifier of the target bot.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object