View Source ExTDLib.Object.Chat (ExTDLib v0.0.4)

A chat. (Can be a private chat, basic group, supergroup, or secret chat.)

NameTypeDescription
idstringChat unique identifier.
typeChatTypeType of the chat.
titlestringChat title.
photochatPhotoInfoChat photo; may be null.
accent_color_idnumberIdentifier of the accent color for message sender name, and backgrounds of chat photo, reply header, and link preview.
background_custom_emoji_idstringIdentifier of a custom emoji to be shown on the reply header background in replies to messages sent by the chat; 0 if none.
permissionschatPermissionsActions that non-administrator chat members are allowed to take in the chat.
last_messagemessageLast message in the chat; may be null if none or unknown.
positionschatPositionPositions of the chat in chat lists.
message_sender_idMessageSenderIdentifier of a user or chat that is selected to send messages in the chat; may be null if the user can't change message sender.
block_listBlockListBlock list to which the chat is added; may be null if none.
has_protected_contentboolTrue, if chat content can't be saved locally, forwarded, or copied.
is_translatableboolTrue, if translation of all messages in the chat must be suggested to the user.
is_marked_as_unreadboolTrue, if the chat is marked as unread.
view_as_topicsboolTrue, if the chat is a forum supergroup that must be shown in the "View as topics" mode.
has_scheduled_messagesboolTrue, if the chat has scheduled messages.
can_be_deleted_only_for_selfboolTrue, if the chat messages can be deleted only for the current user while other users will continue to see the messages.
can_be_deleted_for_all_usersboolTrue, if the chat messages can be deleted for all users.
can_be_reportedboolTrue, if the chat can be reported to Telegram moderators through reportChat or reportChatPhoto.
default_disable_notificationboolDefault value of the disable_notification parameter, used when a message is sent to the chat.
unread_countnumberNumber of unread messages in the chat.
last_read_inbox_message_idstringIdentifier of the last read incoming message.
last_read_outbox_message_idstringIdentifier of the last read outgoing message.
unread_mention_countnumberNumber of unread messages with a mention/reply in the chat.
unread_reaction_countnumberNumber of messages with unread reactions in the chat.
notification_settingschatNotificationSettingsNotification settings for the chat.
available_reactionsChatAvailableReactionsTypes of reaction, available in the chat.
message_auto_delete_timenumberCurrent message auto-delete or self-destruct timer setting for the chat, in seconds; 0 if disabled. Self-destruct timer in secret chats starts after the message or its content is viewed. Auto-delete timer in other chats starts from the send date.
backgroundchatBackgroundBackground set for the chat; may be null if none.
theme_namestringIf non-empty, name of a theme, set for the chat.
action_barChatActionBarInformation about actions which must be possible to do through the chat action bar; may be null if none.
video_chatvideoChatInformation about video chat of the chat.
pending_join_requestschatJoinRequestsInfoInformation about pending join requests; may be null if none.
reply_markup_message_idstringIdentifier of the message from which reply markup needs to be used; 0 if there is no default custom reply markup in the chat.
draft_messagedraftMessageA draft of a message in the chat; may be null if none.
client_datastringApplication-specific data associated with the chat. (For example, the chat scroll position or local chat notification settings can be stored here.) Persistent if the message database is used.

More details on telegram's documentation.