Package ai.nexconn.chat.handler
Interface SendMessageHandler
-
- All Implemented Interfaces:
public interface SendMessageHandlerSend message callback.
Listens for each stage of the normal (non-media) message sending process.
Callback order:
Success: onAttached → onResult (error is null)
Failure: onAttached → onResult (error is non-null)
-
-
Method Summary
-
-
Method Detail
-
onAttached
abstract Unit onAttached(Message message)
Called when the message is stored in the database.
Before sending, the message is first saved to the local database. At this point, you can add the message to the UI list for display.
- Parameters:
message- The message object stored in the database
-
-
-
-