String Argument
fun <T> StringArgument(name: String, type: StringArgument.Type = Type.WORD, suggestion: SuggestionAction<T>? = null, action: ContextAction<T>? = null)
Content copied to clipboard
Parameters
name
Name of argument.
type
Text type.
suggestion
Lambda expression for tab completion of its arguments.
Check the following for the specifications of other arguments.