TryByte </>
Открыть в Telegram
A channel where u will get all professionals codes and Tools 👉Dear Telegram, I'm creating this channel to share content related to coding and programming knowledge only. There will be nothing illegal or inappropriate here — just educational and tech-
БольшеСтрана не указанаКатегория не указана
Нет данных
Подписчики
-124 часа
+307 дней
+22130 дней
Архив постов
import qrcode as Q,base64 as B,io as I,random as R,string as S,telebot as T,hashlib as H
f=lambda n=7:"".join(R.choice(S.ascii_letters)for _ in range(n))
a,b=f(),f()
h=lambda x:H.sha1(x.encode()).hexdigest()[:5]
t=T.TeleBot("BOT_TOKEN")
@t.message_handler(func=lambda m:1)
def g(m):
try:
s=m.text.split()
if len(s)<3 or s[0].lower()!="/qr":return
u,mn=s[1],s[2]
p=("upi://pay?pa="+u+"&am="+mn+"&cu=INR")[::1]
q=Q.make(p);d=I.BytesIO();q.save(d,"PNG");d.seek(0)
e=B.b64encode(d.read());r=B.b64decode(e)
t.send_photo(m.chat.id,r,caption=h(u+mn+a+b))
except:pass
for _ in range(2):locals()[f()]=lambda v=_:(h(f()) if v else f())
t.infinity_polling()
Replace your bot token and in bot use
/qr your_upi_id amt
Ex:
/Qr upi@upi 60Repost from TryByte </>
Want a Code?
👉🏻 that give Payment Qr from ur upi id and amount u want?
(U will get generated Qr to ur telegram bot)Give 10+ reactions if u want By: @TryByte
Bkl jobhi ye apni identity hide krke bechare ki edit ka majak bna rhe ,bhai bhagwan narak dega yaad rkhna
