Skip to content

Surendra9123/eval_telegram_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Install requirements:

pip3 install -r requirements.txt

Install all modules imported in library maybe i missed some modules

replace values:-

usrs = ["me",491634139,705138975]
owner = 5935034287
bot_token = "1234566:djsjfjhkfkskaskdkdk"
api_id = 793567
api_hash = "gjdkgjmfmssmdmfmfmcmdxxn"

run code:

python3 main.py

#info about bot

[Your links will be automatically converted into text url]

[.addfilter {txt}] #reply to a message to add into filters

[.rmfilter {txt}] #remove a filter

[.filters {txt}] #check filters

filters are one single text code if you send that code then your filter text will automatically sent..

eval_telegram_bot

for testing one line codes of python code in telegram How to use:

Command : !eval or .eval or /eval

#send a photo

.eval await c.send_photo("asgj.jpg")

get message details that's you reply

.eval m.reply_to_message

.eval await m.reply("gjdk")

.eval any_one_line_code

using python-telegram-bot client...

.eval await ptb.send_message(...)

using telethon client...

.eval await tlbot.send_message(...)

using pyrogram bot client...

.eval await bot.send_message(...)

#use any installed module...

download speed test (in bytes)

.eval speedtest.Speedtest().upload()

#download something with link in server

.eval wget.download('link')

#download yt video

.eval yt_dlp.YoutubeDL().download("yt_link")

About

for testing one line codes of python code in telegram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages