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

Represents the scope of bot commands, covering a specific chat. More...

#include <BotCommandScopeChat.h>

Inheritance diagram for TgBot::BotCommandScopeChat:
TgBot::BotCommandScope

Public Types

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

Public Member Functions

 BotCommandScopeChat ()
 
- 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)
 
- 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 chat.

Definition at line 16 of file BotCommandScopeChat.h.

Member Typedef Documentation

◆ Ptr

Definition at line 20 of file BotCommandScopeChat.h.

Constructor & Destructor Documentation

◆ BotCommandScopeChat()

TgBot::BotCommandScopeChat::BotCommandScopeChat ( )
inline

Definition at line 22 of file BotCommandScopeChat.h.

Member Data Documentation

◆ chatId

std::int64_t TgBot::BotCommandScopeChat::chatId

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

Definition at line 29 of file BotCommandScopeChat.h.

◆ TYPE

const std::string TgBot::BotCommandScopeChat::TYPE
static

Definition at line 18 of file BotCommandScopeChat.h.


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