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::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 a specific chat.

Definition at line 1004 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 1005 of file Types.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 @username. Channel direct messages chats and channel chats aren't supported.

Definition at line 1018 of file Types.h.

◆ TYPE

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

Definition at line 1007 of file Types.h.

◆ type

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

Scope type, must be chat.

Definition at line 1012 of file Types.h.


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