25 typedef std::shared_ptr<Chat>
Ptr;
This object represents a chat.
std::string stickerSetName
Optional. For supergroups, name of group sticker set.
bool isForum
Optional. True, if the supergroup chat is a forum (has topics enabled)
std::string title
Optional. Title, for supergroups, channels and group chats.
std::string bio
Optional. Bio of the other party in a private chat.
std::int64_t id
Unique identifier for this chat.
bool joinByRequest
Optional. True, if all users directly joining the supergroup need to be approved by supergroup admini...
bool hasHiddenMembers
Optional. True, if non-administrators can only get the list of bots and administrators in the chat.
std::string inviteLink
Optional. Primary invite link, for groups, supergroups and channel chats.
std::string emojiStatusCustomEmojiId
Optional. Custom emoji identifier of emoji status of the other party in a private chat.
bool hasPrivateForwards
Optional. True, if privacy settings of the other party in the private chat allows to use tg://user?...
bool hasRestrictedVoiceAndVideoMessages
Optional. True, if the privacy settings of the other party restrict sending voice and video note mess...
bool canSetStickerSet
Optional. True, if the bot can change the group sticker set.
bool hasAggressiveAntiSpamEnabled
Optional. True, if aggressive anti-spam checks are enabled in the supergroup.
bool hasProtectedContent
Optional. True, if messages from the chat can't be forwarded to other chats.
Type type
Type of chat, can be either “private”, “group”, “supergroup” or “channel”
std::string firstName
Optional. First name of the other party in a private chat.
std::int32_t messageAutoDeleteTime
Optional. The time after which all messages sent to the chat will be automatically deleted; in second...
std::string description
Optional. Description, for groups, supergroups and channel chats.
Type
Enum of possible types of a chat.
std::shared_ptr< Chat > Ptr
bool joinToSendMessages
Optional. True, if users need to join the supergroup before they can send messages.
ChatLocation::Ptr location
Optional. For supergroups, the location to which the supergroup is connected.
std::int64_t linkedChatId
Optional. Unique identifier for the linked chat, i.e. the discussion group identifier for a channel a...
std::vector< std::string > activeUsernames
Optional. If non-empty, the list of all active chat usernames; for private chats, supergroups and cha...
ChatPhoto::Ptr photo
Optional. Chat photo.
ChatPermissions::Ptr permissions
Optional. Default chat member permissions, for groups and supergroups.
std::string lastName
Optional. Last name of the other party in a private chat.
std::shared_ptr< Message > pinnedMessage
Optional. The most recent pinned message (by sending date).
std::int32_t slowModeDelay
Optional. For supergroups, the minimum allowed delay between consecutive messages sent by each unpriv...
std::string username
Optional. Username, for private chats, supergroups and channels if available.
std::shared_ptr< ChatLocation > Ptr
std::shared_ptr< ChatPermissions > Ptr
std::shared_ptr< ChatPhoto > Ptr