|
TDLib
|
Inherits InternalLinkType.
The link is a link to a dialog for creating of a managed bot. Call searchPublicChat with the given manager bot username. If the chat is found, the chat is a chat with a bot and the bot has can_manage_bots == true, then show bot creation confirmation dialog with the given suggested_bot_username and suggested_bot_name. If user agrees, call createBot with via_link == true to create the bot.
Public Member Functions | |
| internalLinkTypeRequestManagedBot () | |
| internalLinkTypeRequestManagedBot (string const &manager_bot_username_, string const &suggested_bot_username_, string const &suggested_bot_name_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| string | manager_bot_username_ |
| Username of the bot which will manage the new bot. | |
| string | suggested_bot_name_ |
| Suggested name for the bot; may be empty if not specified. | |
| string | suggested_bot_username_ |
| Suggested username for the bot; always ends with "bot" case-insensitive. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1416354488 |
| Identifier uniquely determining a type of the object. | |
| internalLinkTypeRequestManagedBot | ( | ) |
The link is a link to a dialog for creating of a managed bot. Call searchPublicChat with the given manager bot username. If the chat is found, the chat is a chat with a bot and the bot has can_manage_bots == true, then show bot creation confirmation dialog with the given suggested_bot_username and suggested_bot_name. If user agrees, call createBot with via_link == true to create the bot.
| internalLinkTypeRequestManagedBot | ( | string const & | manager_bot_username_, |
| string const & | suggested_bot_username_, | ||
| string const & | suggested_bot_name_ ) |
The link is a link to a dialog for creating of a managed bot. Call searchPublicChat with the given manager bot username. If the chat is found, the chat is a chat with a bot and the bot has can_manage_bots == true, then show bot creation confirmation dialog with the given suggested_bot_username and suggested_bot_name. If user agrees, call createBot with via_link == true to create the bot.
| [in] | manager_bot_username_ | Username of the bot which will manage the new bot. |
| [in] | suggested_bot_username_ | Suggested username for the bot; always ends with "bot" case-insensitive. |
| [in] | suggested_bot_name_ | Suggested name for the bot; may be empty if not specified. |
|
finalvirtual |