sendMessage

fun sendMessage(message: Message = buildNewMessage(), callback: Call.Callback<Message> = Call.Callback { /* no-op */ })

Sends a given message using our Stream API. Based on the internal state, we either edit an existing message, or we send a new message, using our API.

It also dismisses any current message actions.

Parameters

message

The message to send.