tgbot-cpp
Loading...
Searching...
No Matches
BotCommandScopeChat.h
Go to the documentation of this file.
1#ifndef TGBOT_BOTCOMMANDSCOPECHAT_H
2#define TGBOT_BOTCOMMANDSCOPECHAT_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<BotCommandScopeChat> Ptr;
21
23 this->type = TYPE;
24 }
25
29 std::int64_t chatId;
30};
31}
32
33#endif //TGBOT_BOTCOMMANDSCOPECHAT_H
Represents the scope of bot commands, covering a specific chat.
std::int64_t chatId
Unique identifier for the target chat or username of the target supergroup (in the format @supergroup...
std::shared_ptr< BotCommandScopeChat > Ptr
static const std::string TYPE
This abstract class is base of all bot command scopes.
std::string type
Scope type.
Definition Api.h:40