Skip to content

Commit 3f2bbf5

Browse files
committed
fix: update greeting postback_id docs
1 parent 713d206 commit 3f2bbf5

File tree

1 file changed

+3
-3
lines changed
  • src/pages/management/configuration-api/v3.6

1 file changed

+3
-3
lines changed

src/pages/management/configuration-api/v3.6/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1977,10 +1977,10 @@ Creates a new greeting with specified parameters within a license.
19771977
| `elements[].image.alternative_text` | no | `string` | Alternative text for the image |
19781978
| `elements[].buttons` | no | `array` | Displays buttons. Can contain up to 13 `button` objects. |
19791979
| `elements[].buttons[].text` | yes | `string` | Text displayed on a button. |
1980-
| `elements[].buttons[].type` | yes | `string` | Defines the behavior after a user clicks the button. Should be used together with `elements.buttons.value`. Possible values: `webview`, `message`, `url`, `phone`. [More...](/extending-chat-widget/rich-messages/#getting-started) |
1980+
| `elements[].buttons[].type` | yes | `string` | Defines the behavior after a user clicks the button. Should be used together with `elements.buttons.value`. Possible values: `webview`, `message`, `url`, `phone`. [More...](/extending-chat-widget/rich-messages/#getting-started) |
19811981
| `elements[].buttons[].value` | yes | `string` | Should be used together with `elements.buttons.type`. You can use this field to give the rich message of a `webview` type (a Moment) a custom title. [More...](/extending-chat-widget/chat-widget-moments/#how-to-start) |
1982-
| `elements[].buttons[].postback_id` | yes | `string` | A description of the sent action. Describes the action sent via `send_rich_message_postback`. [More...](/extending-chat-widget/rich-messages/#getting-started) |
1983-
| `elements[].buttons[].role`<sup>**1**</sup> | no | `string` | Button role. |
1982+
| `elements[].buttons[].postback_id` | yes | `string` | A unique (in the whole greeting) ID of the button. It will be used to report the button actions using [`send_greeting_postback`](/messaging/customer-chat-api/v3.6/#send-greeting-postback) |
1983+
| `elements[].buttons[].role`<sup>**1**</sup> | no | `string` | Button role. |
19841984

19851985

19861986
**1)** Possible values for the `elements[].buttons[].role` parameter:

0 commit comments

Comments
 (0)