Post Telegram Message Dynamic Action

About

This action uses the Telegram BOT API to post Telegram messages.

Use the following link to create a Telegram bot. https://core.telegram.org/bots#6-botfather

Metadata tab

Post Telegram Message Action - Metadata tab
 

  1. The Write Variables option ensures that the “Package Action” logs the variable values into the “Action vars before log file” before the action is executed and logs the updated variable values into the “Action vars after log file” after the action completes.
  2. This option is typically used for debugging and is not recommended in a production environment.
  3. It can be globally disabled through the options dialog .

Parameters tab

Post Telegram Message Action - Parameters tab
 

Selecting Connection

Post Telegram Message Action - Editing Post Telegram Message Connection Parameter

Variables tab

The Variables tab defines the variables to be updated during the action’s execution.

Post Telegram Message Action - Variables tab

Execution log tab

The Execution log tab is populated after the action is executed. Double click on the row to view the log.

Post Telegram Message - Execution log tab

Example Calculated Telegram Message

Pascal

Post Telegram Message Action - Calculated Message example - Pascal
  Script

begin
 if DayOfWeek(Now)=7 then
    begin
     Result:='Please feed the Cat';
    end
 else
    begin
     Result:='Please contact local VET clinic';
    end;
end;

Python

Post Telegram Message Action - Calculated Message example - Python
  Script

import datetime;
if datetime.datetime.today().weekday()==0:
   Result.Value='Please feed the Cat'
else:
   Result.Value='Please contact local VET clinic'
  1. Post Telegram Message Action
  2. Get Telegram Message Action

For more technologies supported by our ETL Software see Advanced ETL Processor Versions

Confused? Ask question on our ETL Forum

Posted on October 12, 2024 • 2 min read • 310 words
www.etl-tools.com About Support Pricing Cookies Policy Term Of Use Privacy Policy License