Hello @Silvio_Coelho,
This thread might be helpful (its been a long time since ive used that package) and read through the solutions it might be easier than making a telegram.endpoint() function which you’ll need to define if you want to mirror the script you gave me as closely as possible.
So the slack.endpoint function is a factory function that returns a function (slack.message() ) that can be used to send a message to Slack per input row.
See how it works here:
But I believe you could borrow the function definition from slack and alter it to fit the requirements of the telegram message and then use it.