tgbotxx  1.1.6.9
Telegram Bot C++ Library
tgbotxx::BotCommandScopeChatAdministrators Struct Reference

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

#include <BotCommandScope.hpp>

Inheritance diagram for tgbotxx::BotCommandScopeChatAdministrators:
tgbotxx::BotCommandScope

Public Member Functions

 BotCommandScopeChatAdministrators ()
 
 BotCommandScopeChatAdministrators (const nl::json &json)
 
nl::json toJson () const override
 
void fromJson (const nl::json &json) override
 
- Public Member Functions inherited from tgbotxx::BotCommandScope
 BotCommandScope ()=default
 
 BotCommandScope (const nl::json &json)
 
virtual ~BotCommandScope ()=default
 

Public Attributes

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

Detailed Description

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

Definition at line 107 of file BotCommandScope.hpp.

Constructor & Destructor Documentation

◆ BotCommandScopeChatAdministrators() [1/2]

tgbotxx::BotCommandScopeChatAdministrators::BotCommandScopeChatAdministrators ( )
inline

Definition at line 108 of file BotCommandScope.hpp.

◆ BotCommandScopeChatAdministrators() [2/2]

tgbotxx::BotCommandScopeChatAdministrators::BotCommandScopeChatAdministrators ( const nl::json &  json)
inlineexplicit

Definition at line 111 of file BotCommandScope.hpp.

Member Function Documentation

◆ fromJson()

void tgbotxx::BotCommandScopeChatAdministrators::fromJson ( const nl::json &  json)
inlineoverridevirtual

Reimplemented from tgbotxx::BotCommandScope.

Definition at line 124 of file BotCommandScope.hpp.

◆ toJson()

nl::json tgbotxx::BotCommandScopeChatAdministrators::toJson ( ) const
inlineoverridevirtual

Reimplemented from tgbotxx::BotCommandScope.

Definition at line 118 of file BotCommandScope.hpp.

Member Data Documentation

◆ chatId

std::int64_t tgbotxx::BotCommandScopeChatAdministrators::chatId {}

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

Definition at line 116 of file BotCommandScope.hpp.


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