|
Telebot 9.4
Library for Telegram bot API
|
This object represents a chat. More...
#include <telebot-types.h>
This object represents a chat.
| int telebot_chat::accent_color_id |
Optional. Identifier of the accent color for the chat name and backgrounds.
| char** telebot_chat::active_usernames |
Optional. If non-empty, the list of all active chat usernames; for private chats, supergroups and channels. Returned only in getChat.
| char* telebot_chat::bio |
Optional. Bio of the other party in a private chat. Returned only in getChat.
| struct telebot_birthdate* telebot_chat::birthdate |
Optional. For private chats, the date of birth of the user.
| struct telebot_business_intro* telebot_chat::business_intro |
Optional. For private chats with business accounts, the intro of the business.
| struct telebot_business_location* telebot_chat::business_location |
Optional. For private chats with business accounts, the location of the business.
| struct telebot_business_opening_hours* telebot_chat::business_opening_hours |
Optional. For private chats with business accounts, the opening hours of the business.
| bool telebot_chat::can_set_sticker_set |
Optional. True, if the bot can change the group sticker set. Returned only in getChat.
| char* telebot_chat::custom_emoji_sticker_set_name |
Optional. For supergroups, the name of the group's custom emoji sticker set.
| char* telebot_chat::description |
Optional. Description, for supergroups and channel chats. Returned only in getChat.
| char* telebot_chat::emoji_status_custom_emoji_id |
Optional. Custom emoji identifier of emoji status of the other party in a private chat. Returned only in getChat.
| long telebot_chat::emoji_status_expiration_date |
Optional. Expiration date of the emoji status of the chat or the other party in a private chat, in Unix time, if any.
| char* telebot_chat::first_name |
Optional. First name of the other party in a private chat.
| bool telebot_chat::has_aggressive_anti_spam_enabled |
Optional. True, if aggressive anti-spam checks are enabled in the supergroup.
| bool telebot_chat::has_hidden_members |
Optional. True, if non-administrators can only get the list of bots and administrators in the chat.
| bool telebot_chat::has_private_forwards |
Optional. True, if privacy settings of the other party in the private chat allows to use tg://user?id=<user_id> links only in chats with the user. Returned only in getChat.
| bool telebot_chat::has_protected_content |
Optional. True, if messages from the chat can't be forwarded to other chats. Returned only in getChat.
| bool telebot_chat::has_restricted_voice_and_video_messages |
Optional. True, if the privacy settings of the other party restrict sending voice and video note messages in the private chat. Returned only in getChat.
| bool telebot_chat::has_visible_history |
Optional. True, if new chat members will have access to old messages.
| long long int telebot_chat::id |
Unique identifier for this chat, it may be greater than 32 bits.
| char* telebot_chat::invite_link |
Optional. Primary invite link, for groups, supergroups and channel chats. Returned only in getChat.
| bool telebot_chat::is_direct_messages |
Optional. True, if the chat is the direct messages chat of a channel.
| bool telebot_chat::is_forum |
Optional. True, if the supergroup chat is a forum (has topics enabled).
| bool telebot_chat::join_by_request |
Optional. True, if all users directly joining the supergroup need to be approved by supergroup administrators. Returned only in getChat.
| bool telebot_chat::join_to_send_messages |
Optional. True, if users need to join the supergroup before they can send messages. Returned only in getChat.
| char* telebot_chat::last_name |
Optional. Last name of the other party in a private chat.
| long long int telebot_chat::linked_chat_id |
Optional. Unique identifier for the linked chat, i.e. the discussion group identifier for a channel and vice versa; for supergroups and channel chats. Returned only in getChat.
| struct telebot_chat_location* telebot_chat::location |
Optional. For supergroups, the location to which the supergroup is connected. Returned only in getChat.
| int telebot_chat::max_reaction_count |
Optional. The maximum number of reactions that can be set on a message in the chat.
| int telebot_chat::message_auto_delete_time |
Optional. The time after which all messages sent to the chat will be automatically deleted; in seconds. Returned only in getChat.
| struct telebot_chat* telebot_chat::parent_chat |
Optional. Information about the corresponding channel chat; for direct messages chats only.
| struct telebot_chat_permissions* telebot_chat::permissions |
Optional. Default chat member permissions, for groups and supergroups. Returned only in getChat.
| struct telebot_chat* telebot_chat::personal_chat |
Optional. For private chats, the personal channel of the user.
| struct telebot_chat_photo* telebot_chat::photo |
Optional. Chat photo. Returned only in getChat.
| struct telebot_message* telebot_chat::pinned_message |
Optional. The most recent pinned message (by sending date). Returned only in getChat.
| int telebot_chat::slow_mode_delay |
Optional. For supergroups, the minimum allowed delay between consecutive messages sent by each unpriviledged user. Returned only in getChat.
| char* telebot_chat::sticker_set_name |
Optional. For supergroups, name of group sticker set. Returned only in getChat.
| char* telebot_chat::title |
Optional. Title, for supergroups, channels and group chats.
| char* telebot_chat::type |
Type of chat, can be either "private", or "group", "supergroup", or "channel".
| int telebot_chat::unrestrict_boost_count |
Optional. For supergroups, the minimum number of boosts that a non-administrator user needs.
| char* telebot_chat::username |
Optional. Username, for private chats, supergroups and channels if available.