SendMessageHandler

public interface SendMessageHandler

Send message callback.

Listens for each stage of the normal (non-media) message sending process.

Callback order:

Inheritors

Functions

Link copied to clipboard
public abstract Unit onAttached(Message message)

Called when the message is stored in the database.

Link copied to clipboard
public abstract Unit onResult(Message message, NCError error)

Called when message sending completes (success or failure).