react To Message
abstract fun reactToMessage(conversation: IRainbowConversation, messageId: String, vararg reaction: String)
Adds one or more reactions to a specific message in a conversation.
Parameters
conversation
The conversation containing the message to react to.
message Id
The message id to which the reactions will be applied.
reaction
One or more reaction strings to add to the message.
Each user is limited by maxNumberOfReactionPerUser for the number of reactions per message.
Example:
reactToMessage(conversation, message, "👍", "😂", "❤️")Content copied to clipboard