Element details
type: meya.widget.event.page
class: PageEvent
path: /meya/widget/event/page/page.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 | |
| composer | ○ | ○ | focus: placeholder: collapse_placeholder: visibility: character_limit: | ComposerEventSpec | |
| quick_replies | ○ | ○ | [] | list | |
| header | ○ | ○ | buttons: title: progress: milestones: extra_buttons: | HeaderEventSpec | |
| markdown | ○ | ○ | [] | list | |
| page_id | ◉ | ○ | str | ||
| widgets | ◉ | ○ | list | ||
| input_data | ○ | ○ | null | list | |
| submit_button_id | ○ | ○ | null | str | |
| submit_button_text | ○ | ○ | null | str | |
| extra_buttons | ○ | ○ | [] | list | |
| ok | ◉ | ○ | bool | ||
Usage reference
Data
{
"type": "meya.widget.event.page",
"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"
},
"composer": {
"focus": "file|image|text|blur",
"placeholder": "STRING",
"collapse_placeholder": "STRING",
"visibility": "collapse|hide|show",
"character_limit": {
"length": 123,
"error_text": "STRING"
}
},
"quick_replies": [
{
"url": "STRING",
"javascript": "STRING",
"button_id": "STRING",
"context": {
"STRING": "ANY"
},
"default": false,
"disabled": false,
"divider": false,
"icon": {
"url": "STRING",
"color": "STRING"
},
"menu": [
"BUTTONEVENTSPEC"
],
"result": "ANY",
"text": "STRING"
}
],
"header": {
"buttons": [
{
"url": "STRING",
"javascript": "STRING",
"button_id": "STRING",
"context": {
"STRING": "ANY"
},
"default": false,
"disabled": false,
"divider": false,
"icon": {
"url": "STRING",
"color": "STRING"
},
"menu": [
"BUTTONEVENTSPEC"
],
"result": "ANY",
"text": "STRING"
}
],
"title": {
"text": "STRING",
"icon": {
"url": "STRING",
"color": "STRING"
}
},
"progress": {
"value": 123,
"show_percent": false
},
"milestones": [
{
"text": "STRING",
"current": false
}
],
"extra_buttons": [
{
"url": "STRING",
"javascript": "STRING",
"button_id": "STRING",
"context": {
"STRING": "ANY"
},
"default": false,
"disabled": false,
"divider": false,
"icon": {
"url": "STRING",
"color": "STRING"
},
"menu": [
"BUTTONEVENTSPEC"
],
"result": "ANY",
"text": "STRING"
}
]
},
"markdown": [
"format|linkify|breaks|typographer"
],
"page_id": "STRING",
"widgets": [
{
"STRING": "ANY"
}
],
"input_data": [
"ANY"
],
"submit_button_id": "STRING",
"submit_button_text": "STRING",
"extra_buttons": [
{
"url": "STRING",
"javascript": "STRING",
"button_id": "STRING",
"context": {
"STRING": "ANY"
},
"default": false,
"disabled": false,
"divider": false,
"icon": {
"url": "STRING",
"color": "STRING"
},
"menu": [
"BUTTONEVENTSPEC"
],
"result": "ANY",
"text": "STRING"
}
],
"ok": false
}
}
