ToggleReactionUseCase
class ToggleReactionUseCase(currentClientIdProvider: CurrentClientIdProvider, userId: <Error class: unknown class>, slowSyncRepository: SlowSyncRepository, reactionRepository: ReactionRepository, messageSender: MessageSender, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)
Toggles a reaction on a message. If the reaction already exists it will be removed, if not it will be added.
Constructors
Link copied to clipboard
internal constructor(currentClientIdProvider: CurrentClientIdProvider, userId: <Error class: unknown class>, slowSyncRepository: SlowSyncRepository, reactionRepository: ReactionRepository, messageSender: MessageSender, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)