https://github.com/nlm/telegram
WIP
https://github.com/nlm/telegram
Last synced: over 1 year ago
JSON representation
WIP
- Host: GitHub
- URL: https://github.com/nlm/telegram
- Owner: nlm
- License: gpl-3.0
- Created: 2016-09-30T15:57:13.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-30T15:58:46.000Z (almost 10 years ago)
- Last Synced: 2025-01-21T21:47:33.738Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Telegram
========
a simple telegram command-line client to send messages
you will need a bot on telegram to use it
bot token
---------
bot token can be passed either by command-line argument (-T) or by exporting
the TELEGRAM_BOT_TOKEN environment variable. you can create a bot on telegram
send a message
--------------
```
usage: telegram send_message [-h] -i CHAT_ID [-N DISABLE_NOTIFICATION]
[-t TEXT]
optional arguments:
-h, --help show this help message and exit
-i CHAT_ID, --chat-id CHAT_ID
the chat id
-N DISABLE_NOTIFICATION, --disable-notification DISABLE_NOTIFICATION
disable notification
-t TEXT, --text TEXT your text
```