4 Wf_Message
nique_372 edited this page 2026-04-19 11:21:55 -05:00

Message Module

This module contains all workflow steps that send messages.

Step: Message\SendToTlgMessage

Sends a message to a Telegram chat via a bot.

Structure

- name: "SendToTlgMessage"
  module: "Message"
  with:
    token: "123456:ABC-DEF..."
    chat_id: -1001234567890
    message: "Hello from the workflow"
    silenty: false
    parse_mode: TELEGRAM_PARSE_MODE_HTML

Parameters

Parameter Required Description
token Yes Telegram bot token
chat_id Yes Destination chat ID
message Yes Message text.
silenty No If true the message does not trigger a notification. Default: false
parse_mode No Text format. Values: TELEGRAM_PARSE_MODE_HTML, TELEGRAM_PARSE_MODE_MD, TELEGRAM_PARSE_MODE_MD_2

Step: Message\Alert

Fires a MetaTrader Alert with the given message.

Structure

- name: "Alert"
  module: "Message"
  with:
    message: "Workflow finished"

Parameters

Parameter Required Description
message Yes Alert text.

Step: Message\Notification

Sends a push notification to the mobile device via MetaTrader. Requires the MetaQuotes ID to be configured in the platform.

Structure

- name: "Notification"
  module: "Message"
  with:
    message: "Process completed"

Parameters

Parameter Required Description
message Yes Notification text.