AI Integration Quick Reference
AI Integration Quick Reference
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 calleduid. To mention a user in a message, the message text should contain the uid in following format: <@uid:UID_OF_THE_USER>.
- Swift (User)
- Swift (Group)
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
- Swift (User)
- Swift (Group)
Mentions With Blocked Info
- Swift (User)
Get Users Mentioned In a Message
To retrieve the list of users mentioned in a particular message. Returns an array ofUser objects:
- Swift
Check if Logged-in User Was Mentioned
To check if the logged-in user has been mentioned in a particular message:- Swift
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