Send Message Params
Send message parameters.
Required parameters for sending a normal (non-media) message.
Usage example:
val params = SendMessageParams(TextMessage("Hello")).apply {
pushConfig = PushConfig().apply {
pushContent = "You received a message"
pushData = "{\"key\":\"value\"}"
}
}
channel.sendMessage(params) { msg, error ->
// ...
}Parameters
message content body, a MessageContent or its subclass
Properties
Target user ID list for directed messages.
Whether to disable push notification for this message.
Whether to prevent this message from updating the channel's latest message.
Whether this message requires a read receipt.
Push configuration.
Functions
Target user ID list for directed messages.
Whether to disable push notification for this message.
Whether to prevent this message from updating the channel's latest message.
Message metadata in key-value format.
Whether this message requires a read receipt.
Push configuration.
Target user ID list for directed messages.
Whether to disable push notification for this message.
Whether to prevent this message from updating the channel's latest message.
Message metadata in key-value format.
Whether this message requires a read receipt.
Push configuration.