Package 

Interface CancelMessage

    • Method Summary

      Modifier and Type Method Description
      abstract Call<Boolean> invoke(Message message) Cancels the message of "ephemeral" type.
      • Methods inherited from class io.getstream.chat.android.livedata.usecase.CancelMessage

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

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

      • invoke

        @CheckResult() abstract Call<Boolean> invoke(Message message)

        Cancels the message of "ephemeral" type. Removes the message from local storage. API call to remove the message is retried according to the retry policy specified on the chatDomain

        Parameters:
        message - the message to send