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
4
#include "
tgbot/types/BotCommandScope.h
"
5
6
#include <cstdint>
7
#include <memory>
8
9
namespace
TgBot
{
10
16
class
BotCommandScopeChatMember
:
public
BotCommandScope
{
17
public
:
18
static
const
std::string
TYPE
;
19
20
typedef
std::shared_ptr<BotCommandScopeChatMember>
Ptr
;
21
22
BotCommandScopeChatMember
() {
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
BotCommandScope.h
TgBot::BotCommandScopeChatMember::Ptr
std::shared_ptr< BotCommandScopeChatMember > Ptr
Definition
BotCommandScopeChatMember.h:20
TgBot::BotCommandScopeChatMember::TYPE
static const std::string TYPE
Definition
BotCommandScopeChatMember.h:18
TgBot::BotCommandScopeChatMember::userId
std::int64_t userId
Unique identifier of the target user.
Definition
BotCommandScopeChatMember.h:34
TgBot::BotCommandScopeChatMember::BotCommandScopeChatMember
BotCommandScopeChatMember()
Definition
BotCommandScopeChatMember.h:22
TgBot::BotCommandScopeChatMember::chatId
std::int64_t chatId
Unique identifier for the target chat or username of the target supergroup (in the format @supergroup...
Definition
BotCommandScopeChatMember.h:29
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
BotCommandScopeChatMember.h
Generated on
for tgbot-cpp by
1.14.0