sendBroadcastMessage

fun sendBroadcastMessage(message: String, type: String = HMSMessageType.CHAT, hmsMessageResultListener: HMSMessageResultListener)

Sends a message to everyone in the call.

Parameters

message

content of the message.

type

the type of message can be of HMSMessageType or others as you define them.

hmsMessageResultListener

informs about whether the message was successfully sent, or the kind of error if not.