UpdateMessage

@Serializable
@SerialName(value = "7")
data class UpdateMessage(val data: UpdateMessage.Data) : InteractionResponse(source)

Only for modals

Constructors

Link copied to clipboard
constructor(data: UpdateMessage.Data)

Types

Link copied to clipboard
@Serializable
data class Data(val tts: Boolean = false, val content: String? = null, val embeds: List<Embed> = emptyList(), val allowedMentions: AllowedMentions? = null, val flags: InteractionCommandCallbackDataFlags = InteractionCommandCallbackDataFlags.NONE, val components: List<Message> = emptyList(), val attachments: List<Attachment> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
val type: Int = 7