type: meya.facebook.messenger.component.handover.get_thread_owner
class: FacebookMessengerGetThreadOwnerComponent
path: /meya/facebook/messenger/component/handover/get_thread_owner.py
signature: -
Fields
field | signature | required | type | default | description |
---|---|---|---|---|---|
spec | ○ | ○ | Spec | null | Override the original spec for this element |
page_id | ○ | ○ | int | "Facebook Messenger Page ID" | |
integration | ○ | ◉ | FacebookMessengerIntegrationRef | Facebook Messenger integration reference | |
context | ○ | ○ | dict | {} | Send context data with this component's event |
sensitive | ○ | ○ | bool | true | |
triggers | ○ | ○ | list | [] | Activate these dynamic triggers when the component runs |
recipient_id | ○ | ◉ | str | Facebook Messenger recipient ID |
Examples
Basic
triggers:
- keyword: meya.facebook.messenger.component.handover.get_thread_owner
steps:
- type: meya.facebook.messenger.component.handover.get_thread_owner
integration: integration.facebook_messenger
recipient_id: STRING
Full
triggers:
- keyword: meya.facebook.messenger.component.handover.get_thread_owner
steps:
- type: meya.facebook.messenger.component.handover.get_thread_owner
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
page_id: 123
integration: integration.facebook_messenger
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
recipient_id: STRING