|
tgbotxx 1.2.9.2
Telegram Bot C++ Library
|
Represents the scope of bot commands, covering a specific member of a group or supergroup chat. More...
#include <BotCommandScope.hpp>
Public Member Functions | |
| BotCommandScopeChatMember () | |
| BotCommandScopeChatMember (const nl::json &json) | |
| nl::json | toJson () const override |
| void | fromJson (const nl::json &json) override |
Public Member Functions inherited from tgbotxx::BotCommandScope | |
| BotCommandScope ()=default | |
| BotCommandScope (const nl::json &json) | |
| virtual | ~BotCommandScope ()=default |
Public Attributes | |
| std::int64_t | chatId {} |
| Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) | |
| std::int64_t | userId {} |
| Unique identifier of the target user. | |
Public Attributes inherited from tgbotxx::BotCommandScope | |
| std::string | type |
| Scope type. | |
Represents the scope of bot commands, covering a specific member of a group or supergroup chat.
Definition at line 177 of file BotCommandScope.hpp.
|
inline |
Definition at line 178 of file BotCommandScope.hpp.
|
inlineexplicit |
Definition at line 181 of file BotCommandScope.hpp.
Reimplemented from tgbotxx::BotCommandScope.
Definition at line 198 of file BotCommandScope.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::BotCommandScope.
Definition at line 191 of file BotCommandScope.hpp.
| std::int64_t tgbotxx::BotCommandScopeChatMember::chatId {} |
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
Definition at line 186 of file BotCommandScope.hpp.
| std::int64_t tgbotxx::BotCommandScopeChatMember::userId {} |
Unique identifier of the target user.
Definition at line 189 of file BotCommandScope.hpp.