Chat

Model that describes a chat.

Name Type Description
archived Boolean Whether the chat is archived by the current user.
chat_type String Chat type: Group or Individual. Allowed values: Default, Group, Individual, Channel.
closed Boolean Whether the chat is closed.
closed_date Int64 Chat close date as Unix time in seconds.
created_user_id Int64 ID of the user who created the chat.
entity_id Int64 Linked business entity ID.
entity_type String Linked business entity type: Task, Lead, Deal, or Ticket. Allowed values: Default, Task, Lead, Deal, Ticket.
external_id String External chat ID.
id String Chat UUID.
last_message_date Int64 Last message date as Unix time in seconds.
last_message_id String Last message UUID.
last_message_text String Text of the last visible message. For staff-only messages, the nearest available message is used.
last_update Int64 Last record update date as Unix time in seconds.
logo_url String Chat logo URL.
muted Boolean Whether chat notifications are muted for the current user.
name String Chat name.
participants Array of ChatParticipant Chat participants.
pinned Boolean Whether the chat is pinned by the current user.
unread_count Int64 Number of unread messages for the current user.