facebook.messenger.handover.extend_thread_control

type: meya.facebook.messenger.component.handover.extend_thread_control
class: FacebookMessengerExtendThreadControlComponent
path: /meya/facebook/messenger/component/handover/extend_thread_control.py
signature: -

Fields

fielddescription               requiredsignaturetypedefault
specOverride the original spec for this elementSpecnull
page_idint"Facebook Messenger Page ID"
integrationFacebook Messenger integration referenceFacebookMessengerIntegrationRef
contextSend context data with this component's eventdict{}
sensitivebooltrue
triggersActivate these dynamic triggers when the component runslist[]
recipient_idFacebook Messenger recipient IDstr
durationDuration to extend the thread control in secondstimedelta

Examples

Basic

triggers:
  - keyword: meya.facebook.messenger.component.handover.extend_thread_control
steps:
  - type: meya.facebook.messenger.component.handover.extend_thread_control
    integration: integration.facebook_messenger
    recipient_id: STRING
    duration: 60s

Full

triggers:
  - keyword: meya.facebook.messenger.component.handover.extend_thread_control
steps:
  - type: meya.facebook.messenger.component.handover.extend_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
    duration: 60s