Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/tests/deps.ts>InputTextComponent

An object oriented Discordeno framework
Latest
interface InputTextComponent
import { type InputTextComponent } from "https://deno.land/x/oasis@2.1.0/tests/deps.ts";

Properties

type: MessageComponentTypes.InputText

InputText Component is of type 4

style: TextStyles

The style of the InputText

customId: string

The customId of the InputText

label: string

The label of the InputText

optional
placeholder: string

The placeholder of the InputText

optional
minLength: number

The minimum length of the text the user has to provide

optional
maxLength: number

The maximum length of the text the user has to provide

optional
required: boolean

Whether or not this input is required.

optional
value: string

Pre-filled value for input text.

type: MessageComponentTypes.InputText

InputText Component is of type 4

style: TextStyles

The style of the InputText

customId: string

The customId of the InputText

label: string

The label of the InputText

optional
placeholder: string

The placeholder of the InputText

optional
minLength: number

The minimum length of the text the user has to provide

optional
maxLength: number

The maximum length of the text the user has to provide

optional
required: boolean

Whether or not this input is required.

optional
value: string

Pre-filled value for input text.