Package 

Interface SendMessage

    • Method Summary

      Modifier and Type Method Description
      Call<Message> invoke(Message message) Sends the message.
      abstract Call<Message> invoke(Message message, Function2<Attachment, File, Attachment> attachmentTransformer) Sends the message.
      • Methods inherited from class io.getstream.chat.android.livedata.usecase.SendMessage

        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() Call<Message> invoke(Message message)

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

        Parameters:
        message - the message to send
      • invoke

        @CheckResult() abstract Call<Message> invoke(Message message, Function2<Attachment, File, Attachment> attachmentTransformer)

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

        Parameters:
        message - the message to send