on New Message Received
abstract fun onNewMessageReceived( @NonNull conversationId: String, @NonNull message: BaseMessage, @NonNull internationalNumber: String, isNoNotification: Boolean)
Content copied to clipboard
Called when a message is received from backend whether for synchronization (from your WebChat) or received at runtime
FYI : this callback is not called when a conversation or a message list request is received, this callback is only for messages at runtime
Parameters
conversation Id
The conversation ID
message
The message for a single conversation
international Number
The international number of the sender of the message.
is No Notification
It represent if user need to show a notification or not.