/*
 * F7cloud Talk - Android Client
 *
 * SPDX-FileCopyrightText: 2022 Marcel Hibbe <dev@mhibbe.de>
 * SPDX-License-Identifier: GPL-3.0-or-later
 */
package ru.f7cloud.talk.repositories.reactions

import ru.f7cloud.talk.models.domain.ReactionAddedModel
import ru.f7cloud.talk.models.domain.ReactionDeletedModel
import ru.f7cloud.talk.chat.data.model.ChatMessage
import io.reactivex.Observable

interface ReactionsRepository {

    @Suppress("LongParameterList")
    fun addReaction(
        credentials: String?,
        userId: Long,
        url: String,
        roomToken: String,
        message: ChatMessage,
        emoji: String
    ): Observable<ReactionAddedModel>

    @Suppress("LongParameterList")
    fun deleteReaction(
        credentials: String?,
        userId: Long,
        url: String,
        roomToken: String,
        message: ChatMessage,
        emoji: String
    ): Observable<ReactionDeletedModel>
}
