public static class TdApi.CheckAuthenticationBotToken extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Function