Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dobanov/send_message-file_to_telegram

send message or file to telegramm
https://github.com/dobanov/send_message-file_to_telegram

messaging telegram-bot

Last synced: 5 days ago
JSON representation

send message or file to telegramm

Awesome Lists containing this project

README

        

# tg_send_message-file
send message or file to telegram

g++ -o tg_send_message-file tg_send_message-file.cpp -lcurl

This program sends messages or files to Telegram using the provided bot and chat IDs.
Options:
-c : Specify the chat ID to send the message or file to.
-b : Specify the bot ID for authentication.
-m : Specify the message to send.
-f : Specify the path to the file to send.
-d : Enable debug mode.
-h : Display this help message.