Skip to main content

Starting March 27, 2026, RC is rebranded as Nexconn. Existing RC SDK customers can continue using this documentation. New customers should refer to the Nexconn developer documentation.

@ Message

Description

Developers can send @ messages in group conversations to notify all group members or specific users.

Type Description

@ Message Class: RCIMIWMentionedInfo

Property Description:

Property NameTypeDescription
typeRCIMIWMentionedTypeThe type of @ reminder
userIdListArray<string>List of user IDs to be @ mentioned
mentionedContentstringContent of the message containing the @ reminder, displayed in local notifications and remote push notifications

Code Example

// 1. Create a message
let textMessage = await engine.createTextMessage(
conversationType,
targetId,
channelId,
text,
);
// 2. Create @ configuration
let mentionedInfo = {
type: mentionedType,
userIdList: users,
mentionedContent: 'Content of the message containing the @ reminder, displayed in local notifications and remote push notifications',
};
// 3. Set the created @ configuration to the message
textMessage.mentionedInfo = mentionedInfo;
// 4. Send the message
int code = await engine.sendMessage(textMessage);