teckst.media.send

Element details

type: meya.teckst.component.media.send
class: TeckstSendMediaComponent
path: /meya/teckst/component/media/send.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
specOverride the original spec for this element.nullSpec
phone_numberPhone number to receive the messagestr
integrationSend with this Teckst integrationTeckstIntegrationRef
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
media_urlMedia file URL to send to the phone numberstr
messageText message to send to the phone numbernullstr

Usage reference

Basic

triggers:
  - keyword: meya.teckst.component.media.send
steps:
  - type: meya.teckst.component.media.send
    phone_number: STRING
    integration: integration.teckst
    media_url: STRING

Full

triggers:
  - keyword: meya.teckst.component.media.send
steps:
  - type: meya.teckst.component.media.send
    spec:
      type: STRING
      data:
        STRING: ANY
      timeout: 123
      trigger_when: ANY
    phone_number: STRING
    integration: integration.teckst
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    media_url: STRING
    message: STRING