Send Media Message Params
Send media message parameters.
Required parameters for sending a media message (image, file, voice, video, etc.).
Usage example:
val params = SendMediaMessageParams(
ImageMessage().apply {
localPath = "file:///path/to/image.jpg"
}
).apply {
pushConfig = PushConfig().apply {
pushContent = "You received an image"
}
}
channel.sendMediaMessage(params) { msg, error ->
// ...
}Parameters
media 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.