https://developers.google.com/apps-script/reference/card-service/text-input-mode
Enum TextInputMode | Apps Script | Google for Developers
Learn how to use Apps Script Enum TextInputMode. An enum that defines the what type of input is allowed for the text input field.
apps scriptenumgoogledevelopers