Package 

Interface SendReaction

    • Method Summary

      Modifier and Type Method Description
      abstract Call<Reaction> invoke(String cid, Reaction reaction, Boolean enforceUnique) Sends the reaction.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • invoke

        @CheckResult() abstract Call<Reaction> invoke(String cid, Reaction reaction, Boolean enforceUnique)

        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 i.
        reaction - the reaction to add
        enforceUnique - if set to true, new reaction will replace all reactions the user has on this message