Skip to main content
Mentions are a powerful tool for enhancing communication in messaging platforms. They streamline interaction by allowing users to easily engage and collaborate with particular individuals, especially in group conversations.

Mention Format

Example message text with mention:

Send Mentioned Messages

Every User object has a String unique identifier associated with them which can be found in a property called uid. To mention a user in a message, the message text should contain the uid in following format: <@uid:UID_OF_THE_USER>.
You can mention users in text messages and media message captions.

Fetch Mentioned Messages

By default, the SDK will fetch all messages irrespective of whether the logged-in user is mentioned or not. The SDK allows you to fetch messages with additional mention information.

Mentions With Tag Info

Mentions With Blocked Info


Get Users Mentioned In a Message

To retrieve the list of users mentioned in a particular message. Returns an array of User objects:
Mentioned Users Array:

Check if Logged-in User Was Mentioned

To check if the logged-in user has been mentioned in a particular message:

Mentioned User Properties


Next Steps

Send Messages

Send text, media, and custom messages

Receive Messages

Listen for incoming messages in real time

Reactions

Add emoji reactions to messages

Threaded Messages

Organize conversations with message threads