This is an example telegram bot writtn in Python using Pyrogram
Before Doing Anything Install Python 3! To Install It Click Here
# To Clone This Repo
git https://github.com/Itz-fork/PyrogramExampleBot
# Fill Configs with your own values in config.py
# To Enter The Folder
cd PyrogramExampleBot
# To Install Requirements
pip3 install -r requirements.txt
# To Run the bot using below command
python3 -m TheBot
If you need more commands,
Go Here Then Start Typing From This Line! Then Type Lines Till This Line
@Client.on_message(filters.command(["start", "start@Pyro_Tg_Bot"]))
async def start(_, message: Message):
await message.reply_text(
f"""<b>Hi {message.from_user.first_name} 😉️!</b>
Heya I'm Alive :)
Made by **@Bruh_0x** for Noob/Beginners Like Him!
Join **@NexaBotsUpdates**""",
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(
"🔰️ My Updates Channel 🔰️", url="https://t.me/NexaBotsUpdates"
),
InlineKeyboardButton(
"⚜️ Support Group ⚜️", url="https://t.me/Nexa_bots"
)
],
[
InlineKeyboardButton(
"Follow On Github", url="https://github.com/Itz-fork"
)
]
]
)
)
Replace @Pyro_Tg_Bot with your bot username in commands!
Go Here Then Start Typing From This Line! Then Type Lines Till This Line
@Client.on_message(filters.command(["repo", "repo@Pyro_Tg_Bot"]) & filters.private)
async def repo(_, message: Message):
await message.reply_text(
f"""<b>Hi {message.from_user.first_name} 😉️!</b>
Kk Click On The Below Button For The Repo :)
Made by **@Bruh_0x** for Noob/Beginners Like Him!
Join **@NexaBotsUpdates**""",
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(
"Repo", url="https://github.com/Itz-fork/PyrogramExampleBot"
)
]
]
)
)
Made for beginners like me to learn some very basic things (Made with Love) 😊 Please don't copy paste cuz i made this for learning! Not for copy pasting!
After 1 or 2 months (Actually Can't Remember Tho 😅) I realize Copy Pasting can't make a programmer So Don't Copy Paste :) 😄
Will Add Some Extra Thing When I Have Time 😇! Currently Busy 😃