System Messages
A system message is a neutrally rendered message, shown to all users in a conversation. System messages support wiki-style formatting.
Field | Type | Description |
---|---|---|
string | Read-only. A unique ID for the message, generated by TalkJS. Example: "msg_6TKoWs0Jm8XrjPOmFdOGiX" | |
string | ID of the Conversation this message was sent to. | |
"SystemMessage" | Always set to "SystemMessage" . Read about user messages for the alternative. | |
string | The text of the message. Only given if this message is a text message. | |
"rest" ǀ "import" | Determines how this message was sent: respectively, via the REST API or using the import API. | |
number | Timestamp when this message was sent, expressed as the amount of milliseconds since the UNIX epoch (1970-1-1, 00:00:00 UTC). Example: 1525249255419 |