tgbot-cpp
Loading...
Searching...
No Matches
TgBot::BotCommandScopeChatAdministrators Struct Reference

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<BotCommandScopeChatAdministrators>

Public Attributes

std::string type { TYPE }
 Scope type, must be chat_administrators.
std::int64_t chatId { }
 Unique identifier for the target chat or username of the target supergroup in the format @username. Channel direct messages chats and channel chats aren't supported.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

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

Definition at line 1029 of file Types.h.

Member Typedef Documentation

◆ Ptr

Member Data Documentation

◆ chatId

std::int64_t TgBot::BotCommandScopeChatAdministrators::chatId { }

Unique identifier for the target chat or username of the target supergroup in the format @username. Channel direct messages chats and channel chats aren't supported.

Definition at line 1043 of file Types.h.

◆ TYPE

TGBOT_API const std::string TgBot::BotCommandScopeChatAdministrators::TYPE
static

Definition at line 1032 of file Types.h.

◆ type

std::string TgBot::BotCommandScopeChatAdministrators::type { TYPE }

Scope type, must be chat_administrators.

Definition at line 1037 of file Types.h.


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