Skip to main content

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-release-unreal-docs.mintlify.app/llms.txt

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

Typing indicators let you show a “user is typing…” animation in your chat UI. The CometChat Unreal SDK provides two separate delegates — OnTypingStarted and OnTypingEnded — plus methods to send typing state from the local user.

Send Typing Indicators

Use StartTyping and EndTyping on the Subsystem to notify other users that the local user is composing a message.
  1. Get a reference to the CometChat Subsystem
  2. Create an FCometChatTypingIndicator struct with the receiver info
  3. Call Start Typing when the user begins typing
  4. Call End Typing when the user stops (or after a timeout)
Auto-end pattern: Start a 5-second timer when the user begins typing. Reset it on each keystroke. When the timer fires without a reset, call EndTyping. This prevents stale typing indicators if the user walks away mid-message.

Listen for Typing Events

Bind to OnTypingStarted and OnTypingEnded delegates on the Subsystem to receive typing notifications from other users.
  1. Get a reference to the CometChat Subsystem
  2. Drag off and search for On Typing Started / On Typing Ended
  3. Use Bind Event to connect each to a custom event
  4. The custom event receives an FCometChatTypingIndicator parameter

FCometChatTypingIndicator

PropertyTypeDescription
ReceiverIdFStringThe user UID or group GUID where typing is happening
ReceiverTypeFString"user" for 1:1 or "group" for group conversations
MetadataFStringOptional metadata JSON string
SenderFCometChatUserThe user who started or stopped typing
UI pattern: When OnTypingStarted fires, show a typing animation (e.g., three bouncing dots). When OnTypingEnded fires, hide it. Consider adding a local timeout (e.g., 5 seconds) to auto-hide the indicator in case the end event is missed due to network issues.

Event Flow


Next Steps

Delivery & Read Receipts

Track when messages are delivered and read.

Real-Time Events

See all 40+ real-time delegates available.