Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Delivery and read receipts let you show checkmark indicators (✓ delivered, ✓✓ read) next to messages in your chat UI. The CometChat Unreal SDK delivers these as real-time events through the OnReceiptReceived delegate.

Listen for Receipt Events

Bind to the OnReceiptReceived delegate on the Subsystem.
  1. Get a reference to the CometChat Subsystem
  2. Drag off and search for On Receipt Received
  3. Use Bind Event to connect it to a custom event
  4. The custom event receives an FCometChatReceiptEvent parameter

FCometChatReceiptEvent

PropertyTypeDescription
MessageIdFStringThe message this receipt applies to
UidFStringThe user who triggered the receipt (the recipient)
StatusFStringdelivered — message reached the device; read — message was viewed
Timestampint64Unix timestamp when the receipt was generated

Receipt Flow

A read receipt implies delivered. If you receive a read event for a message you haven’t seen a delivered event for, treat it as both delivered and read.

Next Steps

Connection Status

Monitor the WebSocket connection state.

Real-Time Events

See all five delegates in one place.