sendMessage

fun sendMessage(content: String): WebhookMessageCreateAction<Message>

Send a follow-up message with the given content.

Return

A ReplyCallbackAction

Parameters

content

The content for the message.


fun sendMessage(message: Message): WebhookMessageCreateAction<Message>

Send a follow-up message with the given content.

Return

net.dv8tion.jda.api.requests.restaction.WebhookMessageCreateAction

Parameters

message

The message to send.


fun sendMessage(builder: MessageCreateBuilder): WebhookMessageCreateAction<Message>

Send a follow-up message with the given content.

Return

A net.dv8tion.jda.api.requests.restaction.WebhookMessageCreateAction

Parameters

builder

The message builder.


fun sendMessage(builder: MessageCreateBuilder.() -> Unit): WebhookMessageCreateAction<Message>

Send a follow-up message with the given content.

Return

A net.dv8tion.jda.api.requests.restaction.WebhookMessageCreateAction

Parameters

builder

The message builder function.