patch https://api.amio.io/v1/channels//settings
Delete Settings
You can delete any settings with PATCH request setting the parameter to null, i.e.
{"menu": null}
.
Response Body Params
Parameter | Type | Description |
---|---|---|
get_started_button | object | Get started button is visible on the welcome screen when the user comes for the first time. See Get Started Button chapter for more details. |
get_started_button.payload | string | Any arbitrary data you will receive in Postback Received webhook when a user clicks the button. |
menu | array | List of the menu for different locales. Given the menu is displayed based on the user's locale preference. If you want to set the menu, get started button is required as well. When setting a menu, at least one default locale menu is required. See Menu chapter for more details. |
menu[].locale | string | Specifies locale of given menu. Value has to be in form of locale or default . |
menu[].items | array[object] | List of menu item objects. Maximum allowed size is 3. |
user_inputs | array[object] | List of settings for user inputs for different locales. If you want to disable user inputs then the menu is required to be set. When setting user input, at least one default locale user input is required. See User Inputs chapter for more details. |
user_inputs[].locale | string | Specifies locale of given user input. Value has to be in form of locale or default . |
user_inputs[].enabled | boolean | Set to false in order to disable users' input, set to true otherwise. |
domains_whitelist | array[string] | Some Facebook Messenger features needs to have used domains whitelisted. See Domains Whitelist chapter for more details. |