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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<BotCommandScopeChatMember>

Public Attributes

std::string type { TYPE }
 Scope type, must be chat_member.
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.
std::int64_t userId { }
 Unique identifier of the target user.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

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

Definition at line 1054 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 1055 of file Types.h.

Member Data Documentation

◆ chatId

std::int64_t TgBot::BotCommandScopeChatMember::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 1068 of file Types.h.

◆ TYPE

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

Definition at line 1057 of file Types.h.

◆ type

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

Scope type, must be chat_member.

Definition at line 1062 of file Types.h.

◆ userId

std::int64_t TgBot::BotCommandScopeChatMember::userId { }

Unique identifier of the target user.

Definition at line 1073 of file Types.h.


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