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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<BotCommandScopeChat>

Public Attributes

std::string type { TYPE }
 Scope type, must be chat.
std::variant< std::int64_t, std::string > 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 a specific chat.

Definition at line 1035 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 1036 of file Types.h.

Member Data Documentation

◆ chatId

std::variant<std::int64_t, std::string> TgBot::BotCommandScopeChat::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 1048 of file Types.h.

◆ TYPE

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

Definition at line 1038 of file Types.h.

◆ type

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

Scope type, must be chat.

Definition at line 1043 of file Types.h.


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