invoke

suspend operator fun invoke(conversationId: <Error class: unknown class>, messageId: String, reaction: String): ToggleReactionResult

Operation to toggle a reaction on a message. If the reaction already exists it will be removed, if not it will be added.

Return

ToggleReactionResult indicating success or failure

Parameters

conversationId

the id of the conversation the message is in

messageId

the id of the message to toggle the reaction on/off

reaction

the reaction "emoji" to toggle