facebook.messenger.handover.pass_thread_control

Element details

type: meya.facebook.messenger.component.handover.pass_thread_control
class: FacebookMessengerPassThreadControlComponent
path: /meya/facebook/messenger/component/handover/pass_thread_control.py
signature: -

Fields

field

description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

required

signature

default

type

spec

Override the original spec for this element.

null

Spec

page_id

"Facebook Messenger Page ID"

int

integration

Facebook Messenger integration reference

FacebookMessengerIntegrationRef

context

Send context data with this component's event.

{}

dict

sensitive

true

bool

triggers

Activate these dynamic triggers when the component runs. Check the component triggers guide for more info.

[]

list

recipient_id

Facebook Messenger recipient ID

str

target_app_id

Facebook Messenger Target ID

int

metadata

Metadata to be send to the target APP

null

dict

Usage reference

Basic

triggers:
  - keyword: meya.facebook.messenger.component.handover.pass_thread_control
steps:
  - type: meya.facebook.messenger.component.handover.pass_thread_control
    integration: integration.facebook_messenger
    recipient_id: STRING
    target_app_id: 123

Full

triggers:
  - keyword: meya.facebook.messenger.component.handover.pass_thread_control
steps:
  - type: meya.facebook.messenger.component.handover.pass_thread_control
    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
    target_app_id: 123
    metadata:
      STRING: ANY