Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
@Serializable
@SerialName(value = "4")
data class ChannelMessageWithSource(val data: ChannelMessageWithSource.Data) : InteractionResponse
Link copied to clipboard
@Serializable
@SerialName(value = "9")
data class CreateModalResult(val data: CreateModalResult.Data) : InteractionResponse
Link copied to clipboard
Link copied to clipboard
@Serializable
@SerialName(value = "6")
class DeferredUpdateMessage : InteractionResponse

Only for modals

Link copied to clipboard
@Serializable
data class InteractionCommandCallbackData(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())
Link copied to clipboard
@Serializable
sealed class InteractionResponse
Link copied to clipboard
@Serializable
@SerialName(value = "1")
object PingResponse : InteractionResponse
Link copied to clipboard
@Serializable
@SerialName(value = "7")
data class UpdateMessage(val data: UpdateMessage.Data) : InteractionResponse

Only for modals