Represents the scope of bot commands, covering a specific member of a group or supergroup chat.
More...
#include <Types.h>
|
| std::string | type { TYPE } |
| | Scope type, must be chat_member.
|
| std::variant< std::int64_t, std::string > | chatId { } |
| | Unique identifier for the target chat or username of the target supergroup in the format @username. Channel direct messages chats and channel chats aren't supported.
|
| std::uint64_t | userId { } |
| | Unique identifier of the target user.
|
Represents the scope of bot commands, covering a specific member of a group or supergroup chat.
Definition at line 1083 of file Types.h.
◆ Ptr
◆ chatId
| std::variant<std::int64_t, std::string> TgBot::BotCommandScopeChatMember::chatId { } |
Unique identifier for the target chat or username of the target supergroup in the format @username. Channel direct messages chats and channel chats aren't supported.
Definition at line 1096 of file Types.h.
◆ TYPE
| TGBOT_API const std::string TgBot::BotCommandScopeChatMember::TYPE |
|
static |
◆ type
| std::string TgBot::BotCommandScopeChatMember::type { TYPE } |
Scope type, must be chat_member.
Definition at line 1091 of file Types.h.
◆ userId
| std::uint64_t TgBot::BotCommandScopeChatMember::userId { } |
Unique identifier of the target user.
Definition at line 1100 of file Types.h.
The documentation for this struct was generated from the following file: