Element details
type: meya.webhook.integration
class: WebhookIntegration
path: /meya/webhook/integration/integration.py
signature: -
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
suppress_echo | ○ | ○ | true | bool | |
enabled | Enables the integration, allowing it to process events and HTTP/WS entries. | ○ | ○ | true | bool |
filter | Specifies the GridQL to filter rx_sub , rx , tx , tx_pub entries. Check the integration filtering guidefor more info. | ○ | ○ | rx_sub: true rx: true tx: true tx_pub: true | IntegrationFilter |
verify_token | The token to be verified for each incoming request. You need to add the verify_token=YOUR_TOKEN query parameter to integration's webhook URL. | ○ | ○ | null | str |
max_attachment_size | Controls maximum attachment size supported by the integration in bytes. | ○ | ○ | null | int |
markdown | The markdown features that are supported by this integration. Check the Markdown guide for more info. | ○ | ○ | false | list bool |
typing | When set to false , all typing indicators received by the integration will be ignored. | ○ | ○ | true | bool |
api_key | ◉ | ○ | str | ||
postback_url | ◉ | ○ | str | ||
decrypt_tx | ○ | ○ | false | bool | |
redact_tx | ○ | ○ | false | bool | |
Usage reference
Basic
type: meya.webhook.integration
api_key: STRING
postback_url: STRING
Full
type: meya.webhook.integration
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
suppress_echo: false
enabled: false
filter:
rx_sub: STRING
rx: STRING
tx: STRING
tx_pub: STRING
verify_token: STRING
max_attachment_size: 123
markdown:
- format|linkify|breaks|typographer
typing: false
api_key: STRING
postback_url: STRING
decrypt_tx: false
redact_tx: false