help lib for Telegram bot
Project description
~> SGEARNBOT FOR PYTHON
Installing
pip install sgearnbot
Info
You Can Earn Money From Your Python Scripts By This Lib And Your Telegram Account, Just Make User Skip ShortLink and Get Code.
Using
~> Replace telegram_id with your Telegram ID from our SGEARNBOT
#import sgearnbot Library.
from sgearnbot import *
#setup your Telegram Id.
sg = sgearnbot(id="telegram_id")
#Get ShortLink.
link = sg.get_link()
if link:
print(f"Skip This Link : {link}")
#wait for user to get code and print it here.
code = input("write code")
#check code if correct.
res = sg.check_code(code)
if res:
print("code is correct")
else:
print("code is wrong")
else:
print("no links available now")
You Can Use default() Function To Skip Doing All That.
#import sgearnbot Library.
from sgearnbot import *
#setup your Telegram Id.
sg = sgearnbot(id="telegram_id")
#run default() function.
sg.default()
#after this function put your script
Contact Us
Telegram : https://t.me/hellhour
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sgearnbot-1.0.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for sgearnbot-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d0c94f6f947aeac43b9fab06ea05e39f76fdf9ca46cad531c2e08c4851645df |
|
MD5 | b493e39e369a4e5ffd1975f5658dcae6 |
|
BLAKE2b-256 | e7403fe026f21c00711e23174d459da529b427fea3f7763fb026e1b1a37817ee |