facebook.messenger.handover.take_thread_control

Element details

type: meya.facebook.messenger.component.handover.take_thread_control
class: FacebookMessengerTakeThreadControlComponent
path: /meya/facebook/messenger/component/handover/take_thread_control.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
specOverride the original spec for this element.nullSpec
page_id"Facebook Messenger Page ID"int
integrationFacebook Messenger integration referenceFacebookMessengerIntegrationRef
contextSend context data with this component's event.{}
dict
sensitivetruebool
triggersActivate these dynamic triggers when the component runs. Check the component triggers guide for more info.[]list
recipient_idFacebook Messenger recipient IDstr
metadataMetadata to be send to the target APPnulldict

Usage reference

Basic

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

Full

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