|
tgbot-cpp
|
Arguments for Api::setMyCommands. More...
#include <Types.h>
Public Attributes | |
| std::vector< std::shared_ptr< BotCommand > > | commands { } |
| A JSON-serialized list of bot commands to be set as the list of the bot's commands. At most 100 commands can be specified. | |
| std::shared_ptr< BotCommandScope > | scope = nullptr |
| A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault. | |
| std::string | languageCode = "" |
| A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for whose language there are no dedicated commands. | |
Arguments for Api::setMyCommands.
| std::vector<std::shared_ptr<BotCommand> > TgBot::SetMyCommandsArgs::commands { } |
| std::string TgBot::SetMyCommandsArgs::languageCode = "" |
| std::shared_ptr<BotCommandScope> TgBot::SetMyCommandsArgs::scope = nullptr |
A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault.