-
- All Implemented Interfaces:
-
io.getstream.chat.android.client.interceptor.Interceptor
public interface SendMessageInterceptor implements Interceptor
Intercepts the outgoing requests and potentially modifies the Message being sent to the API.
-
-
Method Summary
-
-
Method Detail
-
interceptMessage
abstract Result<Message> interceptMessage(String channelType, String channelId, Message message, Boolean isRetrying)
Intercept the message before sending it to the API.
- Parameters:
channelType- The type of the channel in which message is sent.channelId- The id of the the channel in which message is sent.message- Message to be sent.isRetrying- If this message is being retried instead of a new message.
-
-
-
-