DiscordMemberVerificationFormField

data class DiscordMemberVerificationFormField(val fieldType: MemberVerificationFormFieldType, val label: String, val choices: Optional<List<String>> = Optional.Missing(), val values: Optional<List<String?>> = Optional.Missing(), val response: Optional<JsonPrimitive?> = Optional.Missing(), val required: Boolean, val description: String?, val automations: List<String?>, val placeholder: Optional<String?> = Optional.Missing())(source)

A representation of the Discord Member verification form field structure

Parameters

fieldType
label

the label for the field (max 300 characters)

choices

Multiple choice answers

values

The rules the user must agree too

response

The response for this field

required

Whether this field is required for a successful application

description

The subtext of the form field

automations
placeholder

Placeholder text for the fields response area

Constructors

Link copied to clipboard
constructor(fieldType: MemberVerificationFormFieldType, label: String, choices: Optional<List<String>> = Optional.Missing(), values: Optional<List<String?>> = Optional.Missing(), response: Optional<JsonPrimitive?> = Optional.Missing(), required: Boolean, description: String?, automations: List<String?>, placeholder: Optional<String?> = Optional.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