public static class TdApi.CheckAuthenticationBotToken extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
token
The bot token.
|
| Constructor and Description |
|---|
CheckAuthenticationBotToken()
Default constructor for a function, which checks the authentication token of a bot; to log in as a bot.
|
CheckAuthenticationBotToken(java.lang.String token)
Creates a function, which checks the authentication token of a bot; to log in as a bot.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String token
public static final int CONSTRUCTOR
public CheckAuthenticationBotToken()
Returns Ok
public CheckAuthenticationBotToken(java.lang.String token)
Returns Ok
token - The bot token.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object