tgbot-cpp
Loading...
Searching...
No Matches
BotCommandScopeChatMember.h
Go to the documentation of this file.
1#ifndef TGBOT_BOTCOMMANDSCOPECHATMEMBER_H
2#define TGBOT_BOTCOMMANDSCOPECHATMEMBER_H
3
5
6#include <cstdint>
7#include <memory>
8
9namespace TgBot {
10
17public:
18 static const std::string TYPE;
19
20 typedef std::shared_ptr<BotCommandScopeChatMember> Ptr;
21
23 this->type = TYPE;
24 }
25
29 std::int64_t chatId;
30
34 std::int64_t userId;
35};
36}
37
38#endif //TGBOT_BOTCOMMANDSCOPECHATMEMBER_H
Represents the scope of bot commands, covering a specific member of a group or supergroup chat.
std::shared_ptr< BotCommandScopeChatMember > Ptr
std::int64_t userId
Unique identifier of the target user.
std::int64_t chatId
Unique identifier for the target chat or username of the target supergroup (in the format @supergroup...
This abstract class is base of all bot command scopes.
std::string type
Scope type.
Definition Api.h:40