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

readonly
type : ComponentType

The type of the 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