Element details
type: meya.directly.event.webhook
class: DirectlyWebhookEvent
path: /meya/directly/event/webhook.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 | |
payload | ◉ | ○ | DirectlyWebhookPayload | ||
Usage reference
Data
{
"type": "meya.directly.event.webhook",
"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"
},
"payload": {
"event_type": "STRING",
"timestamp": 123,
"question": {
"uuid": "STRING",
"timestamp": 123,
"subject": "STRING",
"text": "STRING"
},
"answer": {
"uuid": "STRING",
"timestamp": 123,
"text": "STRING",
"author": {
"uuid": "STRING",
"name": "STRING",
"avatar": "STRING"
},
"expert": {
"uuid": "STRING",
"name": "STRING",
"avatar": "STRING"
},
"comment": {
"uuid": "STRING",
"timestamp": 123,
"text": "STRING",
"is_auto_answer": false,
"author": {
"uuid": "STRING",
"name": "STRING",
"avatar": "STRING",
"is_poster": false,
"is_chatbot": false
}
}
},
"message": {
"uuid": "STRING",
"text": "STRING"
},
"extra": {
"foo": "bar"
}
}
}
}