TextInputComponent

export class TextInputComponent extends Component<APITextInputComponent>
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
The type of the component
Inherited from Component
Readonly
value:string
The value for this text input
equals(other):boolean
Whether or not the given components are equal
NameTypeOptionalDescription
otherthis | APITextInputComponentNoThe component to compare against
Inherited from Component
Returns the API-compatible JSON for this component
Inherited from Component