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
as in the logs show, it's only disconnectingCannot get difference since the account is not logged in: UserDeactivatedError
Disconnecting
it's a bit annoying thing in telethon and can sometimes interfere with usual response returning or error propagation, but it shouldn't matter much as long as it's not getting stuck, show the exception and output you're getting if it's not working
It should be working then, because I can copy "link's message" in the groups that are giving me errors.
Читать полностью…As I am obvserving, there is no problem when the group is smaller than a certain ammount of users. But I have not discovered where is the "limit" or why it happens.
Читать полностью…depends on its type, PeerChannel won't be working with small groups, it's for supergroups
Читать полностью…It should be ok, but its not
In 90% of cases it crashes out to BaseException with no obvious exc
Source code
Log of runtime:
# python revoker.py
[+13347882743] is started.
continue...
[+13347882743- REF] has error:
None
And it'd only happend if both NewMessaage and Album handlers in the code, if only Album, work great
Читать полностью…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.
Does it mean if my account got a perpetual spamblock, my TG phone number is blocked?
Читать полностью…My scripts works perfectly fine in my pc and when I run it in my vps it gets stuck while starting the client. How do I fix this?
Читать полностью…Typically, what is the length of poll_id? I tested it and it was 19 characters; how much can it increase?
Читать полностью…Does anyone know how to change photos into url to be attached to a code other than imgur.com?
Читать полностью…"small group" is a chat type, if you don't see copy link option on a message etc
you mustn't use PeerChannel for those, they are -id instead of -100id
My code works fine, but if I manage 200 or 300 accounts and want to participate in a giveaway, that code takes 8-10 seconds for each account. Halfway through the process, around the 150th account, I get this warning...
Читать полностью…ignoring things doesn't do any good, fix your code that causes it.
you can search about logging module and how or how to ignore certain keywords by a filter, the logger is in "telethon.network.mtprotostate", or disable the security feature at your own will /channel/TelethonChat/601714
how to ignore all telethon warnings
example: server send very old/new messages and more...
i used
import warnings
warnings.filterwarnings("ignore", category=Warning)
Now I can work with some groups, but not with others, apparently with no reason. The ID input is working fine but some groups just don't go well in the program. It nevers returns me any prompt or do what I want.
All groups have:
- open member list
- I am member of the groups
Hii, why album event aren't recognized albums cams from normal bot with python telegram bot, it detect them as separate messages?
Читать полностью…what do you mean by spamblock? @spambot restriction or can't log in to phone number?
Читать полностью…make a session on a vps don't move it from pc to vps
Читать полностью…Please enable logging:
import logging
logging.basicConfig(level=logging.WARNING)
logging.DEBUG
instead.
Читать полностью…
That is not related to Telethon. Please move to a different group with the correct topic to continue that conversation
Читать полностью…