Element details
type: meya.whatsapp.event.list_picker
class: ListPickerEvent
path: /meya/whatsapp/event/list_picker.py
signature: -
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
parent_entry_ref | ○ | ○ | null | EntryRef | |
trace_id | ○ | ○ | "-" | str | |
sensitive | ○ | ○ | false | bool | |
internal | ○ | ○ | false | bool | |
user_id | ◉ | ○ | str | ||
thread_id | ◉ | ○ | str | ||
integration_id | ◉ | ○ | str | ||
context | ○ | ○ | {} | dict | |
body | ○ | ○ | null | str | |
button | ○ | ○ | null | str | |
items | ◉ | ○ | list | ||
Usage reference
Data
{
"type": "meya.whatsapp.event.list_picker",
"data": {
"parent_entry_ref": {
"ledger": "STRING",
"id": "STRING",
"data": {
"STRING": "STRING"
}
},
"trace_id": "STRING",
"sensitive": false,
"internal": false,
"user_id": "STRING",
"thread_id": "STRING",
"integration_id": "STRING",
"context": {
"STRING": "ANY"
},
"body": "STRING",
"button": "STRING",
"items": [
{
"url": "STRING",
"javascript": "STRING",
"button_id": "STRING",
"context": {
"STRING": "ANY"
},
"default": false,
"disabled": false,
"divider": false,
"icon": {
"url": "STRING",
"color": "STRING"
},
"menu": [
{
"url": "STRING",
"javascript": "STRING",
"button_id": "STRING",
"context": {
"STRING": "ANY"
},
"default": false,
"disabled": false,
"divider": false,
"icon": {
"url": "STRING",
"color": "STRING"
},
"menu": [
"BUTTONEVENTSPEC"
],
"text": "STRING"
}
],
"text": "STRING",
"description": "STRING"
}
]
}
}