Preview deployment

class TextInputComponent

export class TextInputComponent extends Component<APITextInputComponent>

Represents a text input component.

readonly
customId : string

The custom id of this text input

The API data associated with this component

Inherited from: Component

readonly
type : APITextInputComponent['type']

The type of the component

Inherited from: Component

readonly
value : string

The value for this text input

equals(
other: this | APITextInputComponent
) : boolean

Whether or not the given components are equal

Inherited from: Component

Returns the API-compatible JSON for this component

Inherited from: Component