Python Telegram Bots
734 subscribers
1 photo
3 videos
1 file
37 links
All types of python telegram bot with explanation. By @EFXTV

This channel is intended solely for educational and awareness purposes. Any illegal activity is a...

Backup Channel https://t.me/+_w-03ZG1E_thMDhl

Donate: https://buymeacoffee.com/efxtv
Download Telegram
👉🏻 VISIT THE LINK TO JOIN VIP
JOIN VIP

List of bots we will use in #python_telegram_bot_source_codes #bots

⚫️ Bot Father
- How to use Bot Father

⚫️ User Info Bot
- How to use User Info Bot



Updating ...
👍5
How to use Bot Father ?

Create our first Telegram bot (WelcomeBot.py) using the BotFather Step by step:

NOTE: This post serves as a demonstration for creating a Python application. I do not endorse spamming or violating the terms or services of any individuals.

⚡️ Install libraries
$ pip install pyTelegramBotAPI


⚡️ Telegram Bot Using BotFather
⚡️ Search for "BotFather"
⚡️ type /start.
⚡️ type /newbot to create a new bot.
⚡️ Follow the instructions to provide a name for your bot.
⚡️ This name should end with "bot" (e.g., "WelcomeBot").
⚡️ Choose a username for your bot.
⚡️ This username must end with "bot" and be unique. after finish
⚡️ BotFather will provide you with an API token.
⚡️ This token is essential for interacting with the Telegram Bot API. Keep it secure.



⚡️ Demo Welcome bot. Save it as WelcomeBot.py
JOIN VIP
import telebot

TOKEN = 'Token_here'

bot = telebot.TeleBot(TOKEN)

@bot.message_handler(commands=['start'])
def send_welcome(message):
bot.reply_to(message, "Welcome to EFX Tv Support ! How can I assist you?")

@bot.message_handler(func=lambda message: True)
def echo_message(message):
bot.reply_to(message, message.text)

bot.polling()


⚡️ Execute the 'WelcomeBot.py' script, and visit your Telegram bot, type '/start' to receive the welcome message.

#python_telegram_bot_source_codes
#python_Telegram_Bot
👍101