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
4
#include "
tgbot/types/BotCommandScope.h
"
5
6
#include <cstdint>
7
#include <memory>
8
9
namespace
TgBot
{
10
16
class
BotCommandScopeChat
:
public
BotCommandScope
{
17
public
:
18
static
const
std::string
TYPE
;
19
20
typedef
std::shared_ptr<BotCommandScopeChat>
Ptr
;
21
22
BotCommandScopeChat
() {
23
this->
type
=
TYPE
;
24
}
25
29
std::int64_t
chatId
;
30
};
31
}
32
33
#endif
//TGBOT_BOTCOMMANDSCOPECHAT_H
BotCommandScope.h
TgBot::BotCommandScopeChat::chatId
std::int64_t chatId
Unique identifier for the target chat or username of the target supergroup (in the format @supergroup...
Definition
BotCommandScopeChat.h:29
TgBot::BotCommandScopeChat::Ptr
std::shared_ptr< BotCommandScopeChat > Ptr
Definition
BotCommandScopeChat.h:20
TgBot::BotCommandScopeChat::BotCommandScopeChat
BotCommandScopeChat()
Definition
BotCommandScopeChat.h:22
TgBot::BotCommandScopeChat::TYPE
static const std::string TYPE
Definition
BotCommandScopeChat.h:18
TgBot::BotCommandScope::type
std::string type
Scope type.
Definition
BotCommandScope.h:27
TgBot::BotCommandScope::BotCommandScope
BotCommandScope()
Definition
BotCommandScope.h:20
TgBot
Definition
Api.h:40
include
tgbot
types
BotCommandScopeChat.h
Generated on
for tgbot-cpp by
1.14.0