|
tgbot-cpp
|
This object represents the scope to which bot commands are applied. Currently, the following 7 scopes are supported: BotCommandScopeDefault BotCommandScopeAllPrivateChats BotCommandScopeAllGroupChats BotCommandScopeAllChatAdministrators BotCommandScopeChat BotCommandScopeChatAdministrators BotCommandScopeChatMember. More...
#include <Types.h>
Public Types | |
| using | Ptr = std::shared_ptr<BotCommandScope> |
Public Attributes | |
| std::variant< std::shared_ptr< BotCommandScopeDefault >, std::shared_ptr< BotCommandScopeAllPrivateChats >, std::shared_ptr< BotCommandScopeAllGroupChats >, std::shared_ptr< BotCommandScopeAllChatAdministrators >, std::shared_ptr< BotCommandScopeChat >, std::shared_ptr< BotCommandScopeChatAdministrators >, std::shared_ptr< BotCommandScopeChatMember > > | value |
This object represents the scope to which bot commands are applied. Currently, the following 7 scopes are supported: BotCommandScopeDefault BotCommandScopeAllPrivateChats BotCommandScopeAllGroupChats BotCommandScopeAllChatAdministrators BotCommandScopeChat BotCommandScopeChatAdministrators BotCommandScopeChatMember.
| using TgBot::BotCommandScope::Ptr = std::shared_ptr<BotCommandScope> |
| std::variant<std::shared_ptr<BotCommandScopeDefault>, std::shared_ptr<BotCommandScopeAllPrivateChats>, std::shared_ptr<BotCommandScopeAllGroupChats>, std::shared_ptr<BotCommandScopeAllChatAdministrators>, std::shared_ptr<BotCommandScopeChat>, std::shared_ptr<BotCommandScopeChatAdministrators>, std::shared_ptr<BotCommandScopeChatMember> > TgBot::BotCommandScope::value |