This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Sending Backup file to a chat_id in Telegram
#1
Hi everyone!

I hope you can help me, 

I would like implement a telegram group, where several logicmachine are sending every week two messages:

1-. A report with the info of mem, proc and sys resources along the week ==> no problem with that, using the CSV sending script available in this forum is easy

2-. The backupfile, in this case I tried to make a "puzzle" with several script .... but ... with no success!! I can not find nor the info or a good way to do it. Some one can guide me? 

There is a function "sendDocument" in the telegram API but no idea how to use it to add the backup file. 

Thanks a lot in advance!!!

Kike
Reply


Messages In This Thread
Sending Backup file to a chat_id in Telegram - by kike - 02.12.2022, 09:22

Forum Jump: