This object represents a Telegram Chat.
More...
#include <Chat.h>
|
int64_t | id |
| Unique identifier for this chat, not exceeding 1e13 by absolute value. More...
|
|
Type | type |
| Type of chat: can be either "private", "group", "supergroup, or "channel". More...
|
|
std::string | title |
| Optional. Title for channels and group chat. More...
|
|
std::string | username |
| Optional. Username for private chats and channels. More...
|
|
std::string | firstName |
| Optional. First name of the other party in private chat. More...
|
|
std::string | lastName |
| Optional. Last name of the other party in private chat. More...
|
|
bool | allMembersAreAdministrators |
| Optional. True if a group has ‘All Members Are Admins’ enabled. More...
|
|
ChatPhoto::Ptr | photo |
| Optional. Chat photo. Returned only in getChat. More...
|
|
std::string | description |
| Optional. Description, for supergroups and channel chats. Returned only in getChat. More...
|
|
std::string | inviteLink |
| Optional. Chat invite link, for supergroups and channel chats. Returned only in getChat. More...
|
|
std::shared_ptr< Message > | pinnedMessage |
| Optional. Pinned message, for supergroups and channel chats. Returned only in getChat. More...
|
|
std::string | stickerSetName |
| Optional. For supergroups, name of group sticker set. Returned only in getChat. More...
|
|
bool | canSetStickerSet |
| Optional. True, if the bot can change the group sticker set. Returned only in getChat. More...
|
|
This object represents a Telegram Chat.
Definition at line 38 of file Chat.h.
Enum of possible types of a chat.
Enumerator |
---|
Private |
|
Group |
|
Supergroup |
|
Channel |
|
Definition at line 46 of file Chat.h.
bool TgBot::Chat::allMembersAreAdministrators |
Optional. True if a group has ‘All Members Are Admins’ enabled.
Definition at line 87 of file Chat.h.
bool TgBot::Chat::canSetStickerSet |
Optional. True, if the bot can change the group sticker set. Returned only in getChat.
Definition at line 123 of file Chat.h.
std::string TgBot::Chat::description |
Optional. Description, for supergroups and channel chats. Returned only in getChat.
Definition at line 99 of file Chat.h.
std::string TgBot::Chat::firstName |
Optional. First name of the other party in private chat.
Definition at line 75 of file Chat.h.
Unique identifier for this chat, not exceeding 1e13 by absolute value.
Definition at line 53 of file Chat.h.
std::string TgBot::Chat::inviteLink |
Optional. Chat invite link, for supergroups and channel chats. Returned only in getChat.
Definition at line 105 of file Chat.h.
std::string TgBot::Chat::lastName |
Optional. Last name of the other party in private chat.
Definition at line 81 of file Chat.h.
Optional. Chat photo. Returned only in getChat.
Definition at line 93 of file Chat.h.
std::shared_ptr<Message> TgBot::Chat::pinnedMessage |
Optional. Pinned message, for supergroups and channel chats. Returned only in getChat.
Definition at line 111 of file Chat.h.
std::string TgBot::Chat::stickerSetName |
Optional. For supergroups, name of group sticker set. Returned only in getChat.
Definition at line 117 of file Chat.h.
std::string TgBot::Chat::title |
Optional. Title for channels and group chat.
Definition at line 63 of file Chat.h.
Type of chat: can be either "private", "group", "supergroup, or "channel".
Definition at line 58 of file Chat.h.
std::string TgBot::Chat::username |
Optional. Username for private chats and channels.
Definition at line 69 of file Chat.h.
The documentation for this class was generated from the following file: