whatsapp.list_picker

Element details

type: meya.whatsapp.event.list_picker
class: ListPickerEvent
path: /meya/whatsapp/event/list_picker.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
parent_entry_refnullEntryRef
trace_id"-"str
sensitivefalsebool
internalfalsebool
user_idstr
thread_idstr
integration_idstr
context{}
dict
bodynullstr
buttonnullstr
itemslist

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"
            }
        ]
    }
}