Receipt

  • A message receipt confirms delivery and provides details about a specific message within a conversation.

  • It includes the message itself, identified by its unique ID within a conversation, and the type of receipt, such as read or delivered.

  • The receipt data is structured in JSON format with 'message' and 'receiptType' fields for easy processing.

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.