#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| int53 | bot_user_id_ |
| | Identifier of the created bot.
|
| |
| bool | revoke_ |
| | Pass true to revoke the current token and create a new one.
|
| |
|
| static const std::int32_t | ID = 1197197145 |
| | Identifier uniquely determining a type of the object.
|
| |
Returns token of a created bot; for bots only. Deprecated. Use getManagedBotToken.
Returns object_ptr<Text>.
Definition at line 101431 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 101467 of file td_api.h.
◆ getBotToken() [1/2]
| td::td_api::getBotToken::getBotToken |
( |
| ) |
|
Default constructor for a function, which returns token of a created bot; for bots only. Deprecated. Use getManagedBotToken.
Returns object_ptr<Text>.
◆ getBotToken() [2/2]
| td::td_api::getBotToken::getBotToken |
( |
int53 |
bot_user_id_, |
|
|
bool |
revoke_ |
|
) |
| |
Creates a function, which returns token of a created bot; for bots only. Deprecated. Use getManagedBotToken.
Returns object_ptr<Text>.
- Parameters
-
| [in] | bot_user_id_ | Identifier of the created bot. |
| [in] | revoke_ | Pass true to revoke the current token and create a new one. |
◆ store()
| void td::td_api::getBotToken::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ bot_user_id_
| int53 td::td_api::getBotToken::bot_user_id_ |
Identifier of the created bot.
Definition at line 101442 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::getBotToken::ID = 1197197145 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 101464 of file td_api.h.
◆ revoke_
| bool td::td_api::getBotToken::revoke_ |
Pass true to revoke the current token and create a new one.
Definition at line 101444 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h