31 typedef std::shared_ptr<Chat>
Ptr;
std::shared_ptr< Birthdate > Ptr
std::shared_ptr< BusinessIntro > Ptr
std::shared_ptr< BusinessLocation > Ptr
std::shared_ptr< BusinessOpeningHours > 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::vector< ReactionType::Ptr > availableReactions
Optional. List of available reactions allowed in the chat.
std::string bio
Optional. Bio of the other party in a private chat.
std::string profileBackgroundCustomEmojiId
Optional. Custom emoji identifier of the emoji chosen by the chat for its profile background.
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 the emoji status of the chat or the other party in a private cha...
bool hasPrivateForwards
Optional. True, if privacy settings of the other party in the private chat allows to use tg://user?...
std::string customEmojiStickerSetName
Optional. For supergroups, the name of the group's custom emoji sticker set.
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.
BusinessOpeningHours::Ptr businessOpeningHours
Optional. For private chats with business accounts, the opening hours of the business.
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::int32_t accentColorId
Optional. Identifier of the accent color for the chat name and backgrounds of the chat photo,...
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::int32_t unrestrictBoostCount
Optional. For supergroups, the minimum number of boosts that a non-administrator user needs to add in...
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...
bool hasVisibleHistory
Optional. True, if new chat members will have access to old messages; available only to chat administ...
ChatPhoto::Ptr photo
Optional. Chat photo.
std::uint32_t emojiStatusExpirationDate
Optional. Expiration date of the emoji status of the chat or the other party in a private chat,...
ChatPermissions::Ptr permissions
Optional. Default chat member permissions, for groups and supergroups.
BusinessIntro::Ptr businessIntro
Optional. For private chats with business accounts, the intro of the business.
std::string backgroundCustomEmojiId
Optional. Custom emoji identifier of emoji chosen by the chat for the reply header and link preview b...
Chat::Ptr personalChat
Optional. For private chats, the personal channel of the user.
std::string lastName
Optional. Last name of the other party in a private chat.
BusinessLocation::Ptr businessLocation
Optional. For private chats with business accounts, the location of the business.
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::int32_t profileAccentColorId
Optional. Identifier of the accent color for the chat's profile background.
std::string username
Optional. Username, for private chats, supergroups and channels if available.
Birthdate::Ptr birthdate
Optional. For private chats, the date of birth of the user.
std::shared_ptr< ChatLocation > Ptr
std::shared_ptr< ChatPermissions > Ptr
std::shared_ptr< ChatPhoto > Ptr