setMessageTextWithMentions method
void
setMessageTextWithMentions({})
Sets the text message in the message input area, replacing the current editing content,
with an optional list of V2TimGroupMemberFullInfo
objects representing the group members to be mentioned.
If no group members are provided, the method will simply set the message text.
Implementation
void setMessageTextWithMentions({
List<V2TimGroupMemberFullInfo>? groupMembersToMention,
String? messageText,
String? user,
String? group,
String? topicID,
}) {
groupMembersFullInfo = groupMembersToMention;
_triggerEvent(
event: EventName.setMessageTextWithMentions,
value: messageText,
user: user,
group: group,
topic: topicID,
);
}