MessageSender

interface MessageSender

An interface which send MessageRequest

Types

Link copied to clipboard
interface Callback

The callback to the result of sending the message

Link copied to clipboard
interface OnSendMessageListener

The listener to be notified when occur event

Functions

Link copied to clipboard
abstract fun addOnSendMessageListener(listener: MessageSender.OnSendMessageListener)

Add listener to notified when occur events

Link copied to clipboard
abstract fun newCall(request: MessageRequest, headers: Map<String, String>? = null): Call

Prepares the request to be executed at some point in the future.

Link copied to clipboard
abstract fun removeOnSendMessageListener(listener: MessageSender.OnSendMessageListener)

Remove the listener