Receipt

  • Message receipts are represented in JSON format.

  • The JSON representation includes fields for the message identifier and the receipt type.

  • The message identifier is a string resolving to a specific message within a conversation.

  • The receipt type is an enum representing the type of receipt.

Message receipt.

JSON representation
{
  "message": string,
  "receiptType": enum (ReceiptType)
}
Fields
message

string

The message associated with the receipt. Resolves to "conversations/{conversationId}/messages/{messageId}", where {conversationId} is the unique ID for the conversation and {messageId} is the unique ID for the message.

receiptType

enum (ReceiptType)

A receipt type.