Skip to content

GeraAnggaraPutra/telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot Using Python

Here are the step-by-step instructions to create a Telegram bot using Python:

  1. Create an account on Telegram if you don't have one already.
  2. Search for the BotFather account in Telegram and start a conversation with it.
  3. Type "/newbot" to create a new bot and follow the instructions to set a name and username for your bot.
  4. 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.
  5. Install the Python package "python-telegram-bot" using pip: pip install python-telegram-bot
  6. Start a new Python script copy-paste my code and change telegram TOKEN & BOT_USERNAME with yours

Releases

No releases published

Packages

 
 
 

Languages