Skip to content

Python script using telethon for auto replying telegram message

License

Notifications You must be signed in to change notification settings

heyxferdi/ibrdrahim-TelegramAutoReply

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegram auto reply

Python script using telethon for auto replying telegram message

How 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.html

  4. 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 = false
  1. Run main.py

  2. Enjoy! 🍻

Example

Example

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

About

Python script using telethon for auto replying telegram message

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.8%
  • Shell 2.2%