ChatMessage

Chat message model.

Name Type Description
action_code String System action code.
action_payload String System action data as a JSON string.
actions Array of Array of ChatMessageAction Message callback actions for rendering inline buttons.
author_entity_id Int64 Message author entity ID.
author_entity_name String Message author name.
author_entity_photo String Message author photo.
author_entity_type String Message author entity type. Allowed values: Default, User, ChatBot, Client.
author_role String Author role in the chat: Staff, Member, or Bot, if the author is a chat participant. Allowed values: Default, Staff, Member, Bot.
chat_id String Chat UUID.
created_date Int64 Creation date as Unix time in seconds.
edited Boolean Whether the message was edited.
event_id String Idempotency event ID.
external_message_id String External message ID.
file_ids Array of Int64 Chat file IDs (CommonFile) in the current chat folder.
id String Message UUID.
last_update Int64 Last update date as Unix time in seconds.
mentions Array of CommonMention Structured user mentions in text.
message_type String Message type: Regular, System, or Private. Allowed values: Default, Regular, System, Private.
pinned Boolean Whether the message is pinned in the chat.
reactions Array of ChatMessageReaction Aggregated message reactions.
read Boolean Whether the message was read by the current user.
read_count Int64 Number of users who read the message.
recipient_count Int64 Number of message recipients.
replay_text String Text of the message being replied to.
reply_id String UUID of the message being replied to.
text String Message text.