Google Apps Script API
    Preparing search index...

    A input field widget that accepts text input.

    var textInput = CardService.newTextInput()
        .setFieldName("text_input_form_input_key")
        .setTitle("Text input title")
        .setHint("Text input hint");
    
    interface TextInput {
        setFieldName(fieldName: string): GoogleAppsScript.Card_Service.TextInput;
        setHint(hint: string): GoogleAppsScript.Card_Service.TextInput;
        setMultiline(multiline: boolean): GoogleAppsScript.Card_Service.TextInput;
        setOnChangeAction(
            action: GoogleAppsScript.Card_Service.Action,
        ): GoogleAppsScript.Card_Service.TextInput;
        setSuggestions(
            suggestions: Suggestions,
        ): GoogleAppsScript.Card_Service.TextInput;
        setSuggestionsAction(
            suggestionsAction: GoogleAppsScript.Card_Service.Action,
        ): GoogleAppsScript.Card_Service.TextInput;
        setTitle(title: string): GoogleAppsScript.Card_Service.TextInput;
        setValidation(
            validation: Validation,
        ): GoogleAppsScript.Card_Service.TextInput;
        setValue(value: string): GoogleAppsScript.Card_Service.TextInput;
    }
    Index

    Methods