- Create an account on Telegram if you don't have one already.
- Search for the BotFather account in Telegram and start a conversation with it.
- Type "/newbot" to create a new bot and follow the instructions to set a name and username for your bot.
- BotFather will give you a token for your bot. Save this token as it will be needed for your Python code to interact with the bot API.
- Install the Python package "python-telegram-bot" using pip: pip install python-telegram-bot
- Start a new Python script copy-paste my code and change telegram TOKEN & BOT_USERNAME with yours
-
Notifications
You must be signed in to change notification settings - Fork 0
Telegram bot using python
License
GeraAnggaraPutra/telegram-bot
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Telegram bot using python
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published