DiscordTextInput: {
    custom_id: string;
    label: string;
    max_length?: number;
    min_length?: number;
    placeholder?: string;
    required?: boolean;
    style: DiscordTextInputStyles;
    type: TEXT_INPUT;
    value?: string;
}

Type declaration

  • custom_id: string
  • label: string
  • Optional max_length?: number
  • Optional min_length?: number
  • Optional placeholder?: string
  • Optional required?: boolean
  • style: DiscordTextInputStyles
  • type: TEXT_INPUT
  • Optional value?: string

Generated using TypeDoc