Resource: ChatMessage
This service is available for customers who migrated SOAR to a customer managed project and have the Chronicle API enabled. ChatMessage represents a message in a case chat.
JSON representation |
---|
{
"name": string,
"createTime": string,
"author": string,
"text": string,
"attachments": [
{
object ( |
Fields | |
---|---|
name |
Identifier. The unique name(ID) of the chat message. Format: projects/{project}/locations/{location}/instances/{instance}/cases/{case}/chatMessage/{chatMessage} |
createTime |
Output only. The message creation time. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
author |
Output only. The message author. |
text |
Required. The message text. |
attachments[] |
Optional. The message attachments. |
pinned |
Output only. Whether the message is pinned to the case wall |
FileAttachment
Attachments
JSON representation |
---|
{ "name": string, "fileName": string } |
Fields | |
---|---|
name |
Required. The name of the file attachment. |
fileName |
Required. The file name of the attachment. |
Methods |
|
---|---|
|
Creates a Case-chat message. |
|
Gets a Case-chat message. |
|
Lists all Case-chat messages for a given case. |
|
Pins a Case-chat message to the case wall. |
|
Unpins a Case-chat message from the case wall. |
|
Creates a Case-chat message with an attachment. |