Feature Description
If you have integrated TUIKit Compose, you can use the message emoji reaction feature directly.
Feature Showcase
Sending Emoji Reactions
Once the emoji reaction feature is integrated, a new emoji selection area appears at the top of the message menu when you long-press a message. Click the button on the right to expand and view more emojis. Select an emoji to react to the message. If you have already reacted with that emoji, tapping it again will remove your reaction.
Displaying Emoji Reactions
All emoji reactions applied to a message are shown below the message and are visible to every member in the conversation.
You can see which emojis were used and which members reacted with them. Tap an emoji or a member nickname to view detailed emoji reaction information for that message.
In the emoji reaction details interface, you can quickly revoke your own reaction by tapping the emoji you sent.
Disabling Message Emoji Reactions
The MessageListConfig.kt file includes a feature toggle named isSupportReaction for message emoji reactions. This option is a Boolean and defaults to true. To disable the emoji reaction feature, pass the config to MessageList during initialization:
val config = ChatMessageListConfig(isSupportReaction = false)
MessageList(conversationID = conversationID, config = config)