sendMessage

fun sendMessage(channelType: String, channelId: String, message: Message, isRetrying: Boolean = false): Call<Message>

Sends the message to the given channel. If isRetrying is set to true, the message may not be prepared again.

Return

Executable async Call responsible for sending a message.

Parameters

channelType

The channel type. ie messaging.

channelId

The channel id. ie 123.

message

Message object

isRetrying

True if this message is being retried.