Skip to content

Built using Python and the Telegram Bot API, the project includes features such as message handling, command processing, and interactive responses.

Notifications You must be signed in to change notification settings

sufyanism/Telegram_bot_main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Python based telegram bot

Register the Bot

Before you can make a Telegram bot, you must have a Telegram user account. If you don't already have an account, go to Telegram and create one. Search for BotFather (a bot that controls all other Telegram bots) after logging in, then launch a new conversation with it. To register a new bot with the BotFather, take the actions listed below:

1. Type /start and press send.
2. Type /newbot and press send.
3. Choose a name for your bot.
4. Choose a username for your bot that ends in "bot".

The BotFather will reply by sending you a message containing the access key for your freshly created bot. This access token will allow our application to interact with the Telegram API and provide instructions to our bot on how to respond to different user messages. The bot will respond to /start and echo any messages you send it.

Run command to install packages

  • pip install -r requirements.txt

Run this project

python Bot.py

Steps to create project

  • Open Telegram
  • Search @ botfather
  • Type /newbot
  • Please choose a name for your bot
  • Now let’s choose a username for your bot. It must end in "bot".
  • Use this token to access the HTTP API: TOKEN. Paste into the code

About Me

✨ I’m Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects. You can learn more about me and my work at sufyanism.com or connect with me on Linkedin


Your all-in-one learning hub!

🚀 Explore courses and resources in coding, tech, and development at zeba.academy and code.zeba.academy. Empower yourself with practical skills through curated tutorials, real-world projects, and hands-on experience. Level up your tech game today! 💻✨


Zeba Academy is a learning platform dedicated to coding, technology, and development.
➡ Visit our main site: zeba.academy
➡ Explore hands-on courses and resources at: code.zeba.academy
➡ Check out our YouTube for more tutorials: zeba.academy
➡ Follow us on Instagram: zeba.academy


Thank you for visiting!

About

Built using Python and the Telegram Bot API, the project includes features such as message handling, command processing, and interactive responses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published