public static class TdApi.MessageBotWriteAccessAllowed extends TdApi.MessageContent
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.BotWriteAccessAllowReason |
reason
The reason why the bot was allowed to write messages.
|
| Constructor and Description |
|---|
MessageBotWriteAccessAllowed()
The user allowed the bot to send messages.
|
MessageBotWriteAccessAllowed(TdApi.BotWriteAccessAllowReason reason)
The user allowed the bot to send messages.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.BotWriteAccessAllowReason reason
public static final int CONSTRUCTOR
public MessageBotWriteAccessAllowed()
public MessageBotWriteAccessAllowed(TdApi.BotWriteAccessAllowReason reason)
reason - The reason why the bot was allowed to write messages.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object