#include <Chat.h>
This object represents a Telegram Chat
Definition at line 35 of file Chat.h.
◆ Ptr
◆ Type
Enum of possible types of a chat.
Enumerator |
---|
Private | |
Group | |
Supergroup | |
Channel | |
Definition at line 43 of file Chat.h.
◆ allMembersAreAdministrators
bool TgBot::Chat::allMembersAreAdministrators |
Optional. True if a group has �All Members Are Admins� enabled.
Definition at line 84 of file Chat.h.
◆ firstName
std::string TgBot::Chat::firstName |
Optional. First name of the other party in private chat
Definition at line 72 of file Chat.h.
◆ id
Unique identifier for this chat, not exceeding 1e13 by absolute value
Definition at line 50 of file Chat.h.
◆ lastName
std::string TgBot::Chat::lastName |
Optional. Last name of the other party in private chat
Definition at line 78 of file Chat.h.
◆ title
std::string TgBot::Chat::title |
Optional. Title for channels and group chat
Definition at line 60 of file Chat.h.
◆ type
Type of chat: can be either "private", "group", "supergroup, or "channel".
Definition at line 55 of file Chat.h.
◆ username
std::string TgBot::Chat::username |
Optional. Username for private chats and channels
Definition at line 66 of file Chat.h.
The documentation for this class was generated from the following file: