https://github.com/ibrdrahim/telegram-auto-reply
Python script using telethon for auto replying telegram message
https://github.com/ibrdrahim/telegram-auto-reply
hacktoberfest hacktoberfest-2019 hacktoberfest19 hacktoberfest2019 indonesia python-script telegram-auto telegram-bot telethon
Last synced: 5 months ago
JSON representation
Python script using telethon for auto replying telegram message
- Host: GitHub
- URL: https://github.com/ibrdrahim/telegram-auto-reply
- Owner: ibrdrahim
- License: mit
- Created: 2019-08-29T09:40:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-06T19:30:10.000Z (over 3 years ago)
- Last Synced: 2024-08-04T09:06:57.651Z (9 months ago)
- Topics: hacktoberfest, hacktoberfest-2019, hacktoberfest19, hacktoberfest2019, indonesia, python-script, telegram-auto, telegram-bot, telethon
- Language: Python
- Size: 48.8 KB
- Stars: 40
- Watchers: 3
- Forks: 47
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telegram auto reply
Python script using telethon for auto replying telegram messageHow to use
1. Get Telegram API Key
got to https://my.telegram.org and go to API development tools
2. Install Python
https://www.python.org/downloads/3. Install telethon
https://docs.telethon.dev/en/latest/basic/installation.html4. Open .env and setup your environtment
notes:
if debug mode set to true, script will only response to message from self
API_ID = YOUR API ID
API_HASH = 'YOUR API HASH'
DEBUG_MODE = false5. Run main.py
6. Enjoy! 🍻
Example

inspired by
https://gist.github.com/yi-jiayu/acc31fbad5a25f746430428ce4d62c28