ApplicationCommandCreateRequest
data class ApplicationCommandCreateRequest(val name: String, val nameLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val type: ApplicationCommandType, val description: Optional<String> = Optional.Missing(), val descriptionLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val options: Optional<List<ApplicationCommandOption>> = Optional.Missing(), val defaultMemberPermissions: Optional<Permissions?> = Optional.Missing(), val dmPermission: OptionalBoolean? = OptionalBoolean.Missing, val defaultPermission: OptionalBoolean = OptionalBoolean.Missing, val nsfw: OptionalBoolean = OptionalBoolean.Missing)(source)
Constructors
Link copied to clipboard
constructor(name: String, nameLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), type: ApplicationCommandType, description: Optional<String> = Optional.Missing(), descriptionLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), options: Optional<List<ApplicationCommandOption>> = Optional.Missing(), defaultMemberPermissions: Optional<Permissions?> = Optional.Missing(), dmPermission: OptionalBoolean? = OptionalBoolean.Missing, defaultPermission: OptionalBoolean = OptionalBoolean.Missing, nsfw: OptionalBoolean = OptionalBoolean.Missing)
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