Official Telethon's chat! Rules: • Speak English • Stay on topic (questions about Telethon) • Be respectful • Don't ask to ask • Spam-related uses lead to ban • Read https://docs.telethon.dev before asking things here Read more about us @TelethonUpdates
Can't you make with createchatrequest instead of createchannelrequest
Читать полностью…The group is just created inside the code with variable called result
result = client(createchatrequest..
Hello, how to get a chat's id that is not supergroup
Читать полностью…this code used to buy gifts from stock not to show how many gifts you have the request inside get the gifts in stock not in profile
Читать полностью…How can I send message to all my users? The all who uses my bot
Читать полностью…Hi and welcome to the group. Before asking any questions, please read the rules from the group's description, and don't forget to read the docs. Make sure you are using the latest version with pip3 install -U telethon
, since most problems have already been fixed in newer versions.
Delay joining + use residential ips
The model value when generating session (device_model, randomize this) + make a join limit with cooldown
Use rotation agent using Time Zone switch
Try these it may help
Hi everyone,
I’m running an SMM system with smart scheduling that adds 1,000 Telegram sessions to groups.
Everything works at first, but after 9 to 15 uses (mostly group joins), many of the sessions start getting banned or just disappear.
Currently:
• I don’t assign a separate proxy to each session
• I’m using basic, low-cost proxies
Why does this happen so consistently after that number of actions?
And what can I do to make the sessions last longer and more stable?
Any advice or experience would be greatly appreciated 🙏
Yes,
Pass lambda : userConfig['mutes']
instead ( either functools.partial(userConfig.__getitem__,'mutes')
fixes this for ya , but anyways I would rather use lambda expression )
async def CreateChannel(client, title='Aayco', about=None, group=False):Читать полностью…
if about is None:
about = str(datetime.now())
try:
result = await client(functions.channels.CreateChannelRequest(
title=title,
about=about,
megagroup=group
))
return True, result.chats[0].id
except:
return False, None
if your bot uses sql session you can get thier ids from it
Читать полностью…result = await tg_client(functions.payments.GetStarGiftsRequest(hash=0))
I use a proxy, but the accounts are still being deleted.
Читать полностью…Does anyone here understand Telegram sessions and action automation?
Читать полностью…@userCLI.on(events.NewMessage(chats=123456, from_users=userConfig['mutes'], incoming=True))
userConfig['mutes']
changes, the below quote will not update itself. right?
Читать полностью…
Now session except sqlite what's better than storage, such as redis
Читать полностью…