Package 

Interface SendMessageInterceptor


  • 
    public interface SendMessageInterceptor
    
                        

    Interceptor for sending messages in the Stream Chat SDK. Allows overriding the default 'sendMessage' API call.

    • Method Summary

      Modifier and Type Method Description
      abstract Result<Message> sendMessage(String channelType, String channelId, Message message) Sends a message to the server.
      • Methods inherited from class java.lang.Object

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

      • sendMessage

         abstract Result<Message> sendMessage(String channelType, String channelId, Message message)

        Sends a message to the server.

        Parameters:
        channelType - The type of the channel to which the message is sent.
        channelId - The ID of the channel to which the message is sent.
        message - The message to be sent.