onAttached

public 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