PatchWebhookMessage

@Serializable
data class PatchWebhookMessage(val content: String?, val embeds: List<Embed> = emptyList(), val fileContent: List<Byte>? = null, val fileUploadEmbed: String? = null, val allowedMentions: AllowedMentions = AllowedMentions.ALL, val attachments: List<Attachment> = emptyList(), val components: List<MessageComponent> = emptyList())(source)

Constructors

Link copied to clipboard
constructor(content: String?, embeds: List<Embed> = emptyList(), fileContent: List<Byte>? = null, fileUploadEmbed: String? = null, allowedMentions: AllowedMentions = AllowedMentions.ALL, attachments: List<Attachment> = emptyList(), components: List<MessageComponent> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "allowed_mentions")
val allowedMentions: AllowedMentions
Link copied to clipboard
@SerialName(value = "attachments")
val attachments: List<Attachment>
Link copied to clipboard
@SerialName(value = "components")
val components: List<MessageComponent>
Link copied to clipboard
@SerialName(value = "content")
val content: String?
Link copied to clipboard
@SerialName(value = "embeds")
val embeds: List<Embed>
Link copied to clipboard
@SerialName(value = "file")
val fileContent: List<Byte>? = null
Link copied to clipboard
@SerialName(value = "payload_json")
val fileUploadEmbed: String? = null