The interface used to enable advanced user input on a notification.
View the Action input documentation to learn more.
Sets whether the user can freely enter text into the input.
allowFreeFormInput?: undefined | false | true;
This value changes the behaviour of the notification:
true, when an action is pressed this allows the user to type free form text into the input area.
false, you must provide an array of
choicesthe user is allowed to use as the input.
Sets whether generated replies can be added to the action.
allowGeneratedReplies?: undefined | false | true;
Generated replies will only be shown if the input has
choices and whether the device
is able to generate replies.
An array of pre-defined input choices the user can select.
false, this property must contain at least one choice.
true, the user will be able to edit the selected choice before sending the action event, however
allowFreeFormInput must also be
editableChoices?: undefined | false | true;
By default, the platform will decide whether choices can be editable. To explicitly enable or disable
All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.