This object defines the parameters for the creation of a managed bot. Information about the created bot will be shared with the bot using the update managed_bot and a Message with the field managed_bot_created.
More...
#include <Types.h>
|
| std::int32_t | requestId { } |
| | Signed 32-bit identifier of the request. Must be unique within the message.
|
| std::optional< std::string > | suggestedName { } |
| | Optional. Suggested name for the bot.
|
| std::optional< std::string > | suggestedUsername { } |
| | Optional. Suggested username for the bot. The username must end with “bot”. If the user creating the bot has a Telegram Premium subscription, then the username can also end with “agent”, “ai”, “app”, “game”, or “gay”; in this case, the username will be assigned to the bot as a secondary username, and a regular username ending with “bot” will be assigned to the bot automatically.
|
This object defines the parameters for the creation of a managed bot. Information about the created bot will be shared with the bot using the update managed_bot and a Message with the field managed_bot_created.
Definition at line 8112 of file Types.h.
◆ Ptr
◆ requestId
| std::int32_t TgBot::KeyboardButtonRequestManagedBot::requestId { } |
Signed 32-bit identifier of the request. Must be unique within the message.
Definition at line 8118 of file Types.h.
◆ suggestedName
| std::optional<std::string> TgBot::KeyboardButtonRequestManagedBot::suggestedName { } |
Optional. Suggested name for the bot.
Definition at line 8122 of file Types.h.
◆ suggestedUsername
| std::optional<std::string> TgBot::KeyboardButtonRequestManagedBot::suggestedUsername { } |
Optional. Suggested username for the bot. The username must end with “bot”. If the user creating the bot has a Telegram Premium subscription, then the username can also end with “agent”, “ai”, “app”, “game”, or “gay”; in this case, the username will be assigned to the bot as a secondary username, and a regular username ending with “bot” will be assigned to the bot automatically.
Definition at line 8130 of file Types.h.
The documentation for this struct was generated from the following file: