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.
Get User
Retrieve a user’s profile by their UID.- Blueprint
- C++
Call the Get User Async node.
On Success returns an
| Parameter | Type | Description |
|---|---|---|
| Uid | FString | The unique identifier of the user to fetch |
FCometChatUser.FCometChatUser Properties
| Property | Type | Description |
|---|---|---|
Uid | FString | Unique user identifier |
Name | FString | Display name |
AvatarUrl | FString | URL to the user’s avatar image |
Status | FString | Current status text |
User Presence
Track when users come online, go offline, or go away by binding to theOnPresenceChanged delegate on the Subsystem.
- Blueprint
- C++
- Get a reference to the CometChat Subsystem
- Drag off and search for On Presence Changed
- Use Bind Event to connect it to a custom event
- The custom event receives an
FCometChatPresenceparameter
FCometChatPresence Properties
| Property | Type | Description |
|---|---|---|
Uid | FString | The user whose presence changed |
Status | ECometChatPresenceStatus | Online, Offline, or Away |
LastActiveAt | int64 | Unix timestamp of the user’s last activity |
ECometChatPresenceStatus
| Value | Description |
|---|---|
Online | User is currently active |
Offline | User is not connected |
Away | User is connected but idle |
Next Steps
Groups
Create, join, and manage groups.
Real-Time Events
All five real-time delegates in one place.