public static class TdApi.CanBotSendMessages 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 |
|---|
CanBotSendMessages()
Default constructor for a function, which checks whether the specified bot can send messages to the user.
|
CanBotSendMessages(long botUserId)
Creates a function, which checks whether the specified bot can 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 CanBotSendMessages()
Returns Ok
public CanBotSendMessages(long botUserId)
Returns Ok
botUserId - Identifier of the target bot.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object