TextInput

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun reply(embed: Embed): Reply
abstract fun reply(content: String): Reply

Replies to an interaction.

Link copied to clipboard
abstract override fun toString(): String

Converts this entity to a string using the io.github.ydwk.ydwk.util.EntityToStringBuilder.

Properties

Link copied to clipboard

The application id of this component.

Link copied to clipboard
abstract val channel: TextChannel?

The channel were this component was triggered.

Link copied to clipboard
abstract val components: List<Component>

Gets a list of Components that were sent with this component.

Link copied to clipboard
abstract val customId: String

The custom id of the select menu.

Link copied to clipboard

Gets extra data sent with this component.

Link copied to clipboard
abstract val guild: Guild?

The guild of this component.

Link copied to clipboard
abstract val initialValue: String?

The pre-filled value for this component.

Link copied to clipboard

The interaction id.

Link copied to clipboard
abstract val interactionToken: String

The interaction token.

Link copied to clipboard

The interaction type of this component.

Link copied to clipboard
abstract val json: JsonNode

The json representation of this entity.

Link copied to clipboard
abstract val label: String

The label of the text input.

Link copied to clipboard
abstract val maxLength: Int?

The maximum length of the text input.

Link copied to clipboard
abstract val member: Member?

The member who triggered this component.

Link copied to clipboard
abstract val message: Message

The message corresponding to this component.

Link copied to clipboard
abstract val minLength: Int?

The minimum length of the text input.

Link copied to clipboard
abstract val placeholder: String?

The placeholder for this component.

Link copied to clipboard
abstract val required: Boolean?

Whether the text input is required.

Link copied to clipboard

The text input style.

Link copied to clipboard
abstract val type: ComponentType

The type of component interaction.

Link copied to clipboard
abstract val user: User?

The user who triggered this component.

Link copied to clipboard
abstract val yde: YDE

The main YDE instance.