Input

@Serializable
@SerialName(value = "input")
data class Input(val id: String, val tag: String, val text: String, val selector: Selector? = null, var token: String = "") : Command, Command.HasSelector

Constructors

Link copied to clipboard
constructor(id: String, tag: String, text: String, selector: Selector? = null, token: String = "")

Properties

Link copied to clipboard
open override val id: String
Link copied to clipboard
open override val selector: Selector?
Link copied to clipboard
open override val tag: String
Link copied to clipboard
Link copied to clipboard
open override var token: String

Functions

Link copied to clipboard

Resolves the effective Selector from a Command. If the command implements Command.HasSelector, returns the explicit selector or falls back to Selector.Auto wrapping Command.HasSelector.tag. Returns null for commands that don't target a UI element (e.g., Ping, GetTree).