Skip to main content
Once a user is logged in, you can send text messages to other users (1:1) or to groups.

Message Flow


Send a User Message

Send a text message to a specific user by their UID.
  1. Get a reference to the CometChat Subsystem
  2. Call the Send Message Async node
  3. Wire the On Success and On Failure pins
On Success returns an FCometChatMessage with the sent message details (including the server-assigned Id and SentAt timestamp).

Send a Group Message

Send a text message to a group by its GUID.
Call the Send Group Message Async node.On Success returns an FCometChatMessage.

The FCometChatMessage Struct

Both send operations return an FCometChatMessage on success. Here’s a quick reference of the key fields: For the full struct definition, see Key Concepts → FCometChatMessage.

Next Steps

Receive Messages

Fetch message history and listen for incoming messages in real time.

Groups

Create and manage groups before sending group messages.