sendEvent
fun sendEvent(eventType: String, channelType: String, channelId: String, extraData: Map<Any, Any> = emptyMap()): Call<ChatEvent>
Sends an event to all users watching the channel.
Return
Executable async Call responsible for sending an event.
Parameters
eventType
The event name.
channelType
The channel type. ie messaging.
channelId
The channel id. ie 123.
extraData
The event payload.