library / io.getstream.chat.android.livedata.usecase / SendReaction / invoke

invoke

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

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

Parameters

cid - : the full channel id IE messaging:123

reaction - the reaction to add

Return
A call object with Reaction as the return type

See Also

io.getstream.chat.android.livedata.utils.RetryPolicy