svtcore / telegram-referral-bot Goto Github PK
View Code? Open in Web Editor NEWInvite your Telegram accounts as referrals to bots, using your referral code
License: MIT License
Invite your Telegram accounts as referrals to bots, using your referral code
License: MIT License
Hi can you do a detailed video on how to do this.
Hi, I think I did not understand the purpose of this script. Who does it invite? Does it invite random people from any channel? Or it just an automation tool to invite your own accounts to a bot? Can you help clarify this?
i was doing all steps but dont make refer
can you help me please? maybe i cant understand the script
Hey bro, i just found your project and tried to get a referral on @hamster_kombat_bot and it didnt worked. I recieved a message: '''... has sent start command to the bot @hamster_kombat_bot
Sent 1/1
Done'''
but the number of my referrals are still the same. Does this script actually launch the app or its just sending '/start' message? Btw, i faced another problem when i tried to use proxy with authentication:
'''proxy_type=getattr(socks, proxy.get("scheme").upper()),
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper''''
I just added 'scheme=str('socks5')' in 'proxy=dict(hostname=ip..' in main.py and auth.py and it worked(hope it will help others who will face this problem)
And I want to say that I really appreciate your work and that you shared your code here with detailed description(so that even as stupid as I could figure everything out), thanks a lot for that and good luck in all your beginnings
In tl_object.py in line 34
This is the code
def read(cls, b: BytesIO, *args: Any) -> Any:
return cast(TLObject, objects[int.from_bytes(b.read(8), "little")]).read(b, *args)
I have changed the number 8 from 4 and to 16 but the same error is going on what to do, I am not very experienced in python
This is the error
"D:\Py Interpreter\Scripts\python.exe" bot.py --auth --tokens accounts.txt
Traceback (most recent call last):
File "D:\TRB\telegram-referral-bot-main\bot.py", line 33, in
auth.start()
File "D:\TRB\telegram-referral-bot-main\classes\auth.py", line 38, in start
self.app.start()
File "D:\Py Interpreter\Lib\site-packages\pyrogram\sync.py", line 66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ASUS\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 664, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "D:\Py Interpreter\Lib\site-packages\pyrogram\methods\utilities\start.py", line 58, in start
is_authorized = await self.connect()
^^^^^^^^^^^^^^^^^^^^
File "D:\Py Interpreter\Lib\site-packages\pyrogram\methods\auth\connect.py", line 40, in connect
await self.load_session()
File "D:\Py Interpreter\Lib\site-packages\pyrogram\client.py", line 637, in load_session
await Auth(
File "D:\Py Interpreter\Lib\site-packages\pyrogram\session\auth.py", line 274, in create
raise e
File "D:\Py Interpreter\Lib\site-packages\pyrogram\session\auth.py", line 89, in create
res_pq = await self.invoke(raw.functions.ReqPqMulti(nonce=nonce))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Py Interpreter\Lib\site-packages\pyrogram\session\auth.py", line 67, in invoke
return self.unpack(response)
^^^^^^^^^^^^^^^^^^^^^
File "D:\Py Interpreter\Lib\site-packages\pyrogram\session\auth.py", line 60, in unpack
return TLObject.read(b)
^^^^^^^^^^^^^^^^
File "D:\Py Interpreter\Lib\site-packages\pyrogram\raw\core\tl_object.py", line 34, in read
return cast(TLObject, objects[int.from_bytes(b.read(8), "little")]).read(b, *args)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 0
Process finished with exit code 1
Hi man its not worked at all always show me error please if can help me my telegram is @Lobersy
Please i need it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.