sendEmbeddedImageReply

suspend fun ChannelClient.sendEmbeddedImageReply(message: Message, reply: String = "", image: FileData, block: Embed.() -> Unit): Message(source)

Calls ChannelClient.createMessage to reply to a specific text message with an embedded message and image without needing to create a CreateMessage object first. Also accepts a lambda that can be used to configure an Embed object.

Return

the created Message.

Parameters

message

The message to reply to.

reply

The text reply message to send.

image

The image to embed.

block

The block to configure the Embed object with.

Throws

upon client errors.