teckst.media.send

Element details

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

Fields

field

description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

required

signature

default

type

spec

Override the original spec for this element.

null

Spec

phone_number

Phone number to receive the message

str

integration

Send with this Teckst integration

TeckstIntegrationRef

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

media_url

Media file URL to send to the phone number

str

message

Text message to send to the phone number

null

str

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