23 #ifndef TGBOT_CPP_CHAT_H 24 #define TGBOT_CPP_CHAT_H 41 typedef std::shared_ptr<Chat>
Ptr;
128 #endif //TGBOT_CPP_CHAT_H Type type
Type of chat: can be either "private", "group", "supergroup, or "channel".
std::string stickerSetName
Optional. For supergroups, name of group sticker set. Returned only in getChat.
std::shared_ptr< Message > pinnedMessage
Optional. Pinned message, for supergroups and channel chats. Returned only in getChat.
bool canSetStickerSet
Optional. True, if the bot can change the group sticker set. Returned only in getChat.
std::string firstName
Optional. First name of the other party in private chat.
std::shared_ptr< ChatPhoto > Ptr
bool allMembersAreAdministrators
Optional. True if a group has ‘All Members Are Admins’ enabled.
Type
Enum of possible types of a chat.
std::string inviteLink
Optional. Chat invite link, for supergroups and channel chats. Returned only in getChat.
This object represents a Telegram Chat.
int64_t id
Unique identifier for this chat, not exceeding 1e13 by absolute value.
ChatPhoto::Ptr photo
Optional. Chat photo. Returned only in getChat.
std::shared_ptr< Chat > Ptr
std::string description
Optional. Description, for supergroups and channel chats. Returned only in getChat.
std::string lastName
Optional. Last name of the other party in private chat.
std::string title
Optional. Title for channels and group chat.
std::string username
Optional. Username for private chats and channels.