Webhook
data class Webhook(val data: WebhookData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : WebhookBehavior, Strategizable(source)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Requests to edit the webhook, this user must be the creator.
inline suspend fun WebhookBehavior.edit(token: String, builder: WebhookModifyBuilder.() -> Unit): Webhook
Requests to edit the webhook.
Link copied to clipboard
inline suspend fun WebhookBehavior.execute(token: String, threadId: Snowflake? = null, builder: WebhookMessageCreateBuilder.() -> Unit): Message
Requests to execute this webhook.
Link copied to clipboard
inline suspend fun WebhookBehavior.executeIgnored(token: String, threadId: Snowflake? = null, builder: WebhookMessageCreateBuilder.() -> Unit)
Requests to execute this webhook.
Link copied to clipboard
Requests to get the channel this webhook operates in.
Link copied to clipboard
Requests to get the channel this webhook operates in, returns null if the TopGuildMessageChannel isn't present.
Link copied to clipboard
Requests to get the guild this webhook belongs to, returns null if the Guild isn't present.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard