Telegram Notification with YAML
List of YAML parameters and examples for the "Telegram Notification" action.
提示
Learn more about:
YAML parameters for Telegram Notification
名称 | 类型 | 描述 |
---|---|---|
action 必填 | String | The ID of the action. |
type 必填 | String | The type of the action. Should be set to TELEGRAM . |
integration_hash 必填 | String | The ID of the integration. |
content 必填 | String | The content of the notification. |
file_attachments | String[] | The attached files. |
YAML example for Telegram Notification
actions:
- action: "Send notification to Telegram"
type: "TELEGRAM"
content: "[#$BUDDY_EXECUTION_ID] $BUDDY_PIPELINE_NAME execution by [$BUDDY_INVOKER_NAME]($BUDDY_INVOKER_URL)"
integration_hash: "5ddb7c180fb38be67bd78a88a"
file_attachments:
- "fs:///file1"
- "fs:///file2"