invoke

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

Operation to toggle a reaction on a message

Return

Either 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