ApplicationCommandData

data class ApplicationCommandData(val id: Snowflake, val type: Optional<ApplicationCommandType> = Optional.Missing(), val applicationId: Snowflake, val name: String, val nameLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val description: String?, val descriptionLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val options: Optional<List<ApplicationCommandOptionData>> = Optional.Missing(), val defaultMemberPermissions: Permissions?, val dmPermission: OptionalBoolean = OptionalBoolean.Missing, val defaultPermission: OptionalBoolean? = OptionalBoolean.Missing, val nsfw: OptionalBoolean = OptionalBoolean.Missing, val version: Snowflake)(source)

Constructors

Link copied to clipboard
constructor(id: Snowflake, type: Optional<ApplicationCommandType> = Optional.Missing(), applicationId: Snowflake, name: String, nameLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), description: String?, descriptionLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), guildId: OptionalSnowflake = OptionalSnowflake.Missing, options: Optional<List<ApplicationCommandOptionData>> = Optional.Missing(), defaultMemberPermissions: Permissions?, dmPermission: OptionalBoolean = OptionalBoolean.Missing, defaultPermission: OptionalBoolean? = OptionalBoolean.Missing, nsfw: OptionalBoolean = OptionalBoolean.Missing, version: Snowflake)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard