Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 5.3 KB

README.md

File metadata and controls

29 lines (21 loc) · 5.3 KB

CTX-Telegram

Flows and subtasks to integrate with the Telegram messaging app.

CTX-Telegram-Send-Message

This subtask is used to send a message to a Telegram chat.

Inputs

  • i_telegram-apr-url: (Text) The URL of the Telegram Bot API server (Optional - if not provided then the CTX-Configuration-Store area Telegram parameter URL is used)
  • i_bot-token: (Text) The token assigned by the Telegram BotFather to the bot which will be posting to the Telegram chat. (Optional - if not provided then the CTX-Configuration-Store area Telegram parameter token is used)
  • i_chat-id: (Text or Integer) The Telegram id of the chat to which the message will be sent (Mandatory)
  • i_message: (Text) The message that will be sent (Mandatory)
  • i_parse_mode: (Text) The Telegram formatting option for the message (Optional)

Outputs

  • o_response: (Structure) The JSON response structure from the Telegram server

Installation Instructions

Download the Studio Package file and Import it into your Cortex Environment. Don't forget to apply rights using the Studio Authorization module.

Dependencies

This library depends upon the following libraries:

👍 Enjoy! 😉