quoteMessage

abstract fun quoteMessage(message: String?, parentMessageId: String? = null, imageUrl: String? = null, imageWidth: Int?, imageHeight: Int?, quoteMessageId: String, quoteMessage: LiveLikeChatMessage, messageMetadata: Map<String, Any?>? = null, attributes: List<LiveLikeChatAttributes>? = null, liveLikePreCallback: LiveLikeCallback<LiveLikeChatMessage>, chatInterceptor: ChatInterceptor? = null, callback: LiveLikeCallback<LiveLikeChatMessage>? = null)

Quotes a chat message with the provided details and sends it to the chat.

Parameters

message

The text message to include in the quoted message. Can be null.

imageUrl

The URL of an image to attach to the quoted message. Defaults to null.

imageWidth

The width of the attached image. Can be null.

imageHeight

The height of the attached image. Can be null.

quoteMessageId

The unique identifier for the quoted message.

quoteMessage

The original chat message to be quoted.

messageMetadata

Additional metadata associated with the quoted message. Defaults to null.

liveLikePreCallback

A callback to handle the result of quoting the message.

chatInterceptor

An optional chat interceptor to apply before sending the quoted message. Defaults to null.