tgbot-cpp
Loading...
Searching...
No Matches
TgBot::BotCommandScopeChatMember Class Reference

Represents the scope of bot commands, covering a specific member of a group or supergroup chat. More...

#include <BotCommandScopeChatMember.h>

Inheritance diagram for TgBot::BotCommandScopeChatMember:
TgBot::BotCommandScope

Public Types

typedef std::shared_ptr< BotCommandScopeChatMemberPtr
 
- Public Types inherited from TgBot::BotCommandScope
typedef std::shared_ptr< BotCommandScopePtr
 

Public Member Functions

 BotCommandScopeChatMember ()
 
- Public Member Functions inherited from TgBot::BotCommandScope
 BotCommandScope ()
 
virtual ~BotCommandScope ()
 

Public Attributes

std::int64_t chatId
 Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
 
std::int64_t userId
 Unique identifier of the target user.
 
- Public Attributes inherited from TgBot::BotCommandScope
std::string type
 Scope type.
 

Static Public Attributes

static const std::string TYPE
 

Detailed Description

Represents the scope of bot commands, covering a specific member of a group or supergroup chat.

Definition at line 16 of file BotCommandScopeChatMember.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ BotCommandScopeChatMember()

TgBot::BotCommandScopeChatMember::BotCommandScopeChatMember ( )
inline

Definition at line 22 of file BotCommandScopeChatMember.h.

Member Data Documentation

◆ chatId

std::int64_t TgBot::BotCommandScopeChatMember::chatId

Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)

Definition at line 29 of file BotCommandScopeChatMember.h.

◆ TYPE

const std::string TgBot::BotCommandScopeChatMember::TYPE
static

Definition at line 18 of file BotCommandScopeChatMember.h.

◆ userId

std::int64_t TgBot::BotCommandScopeChatMember::userId

Unique identifier of the target user.

Definition at line 34 of file BotCommandScopeChatMember.h.


The documentation for this class was generated from the following file: