invoke

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

Operation to toggle a reaction on a message

Return

CoreFailure or Unit //fixme: we should not return Either

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