library / io.getstream.chat.android.livedata.usecase / SendReactionImpl

SendReactionImpl

class SendReactionImpl : SendReaction

Constructors

<init>

SendReactionImpl(domainImpl: ChatDomainImpl)

Properties

domainImpl

var domainImpl: ChatDomainImpl

Functions

invoke

Sends the reaction. Immediately adds the reaction to local storage and updates the reaction fields on the related message. API call to send the reaction is retried according to the retry policy specified on the chatDomain

operator fun invoke(cid: String, reaction: Reaction): Call2<Reaction>