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
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?
Читать полностью…Well , that must be sat before for using the exact code I sent ( I called setattr in my codes somewhere else ) , just use hasattr(Obj, "_answered") and getattr(Obj, "_answered")
instead of that.
How to use it? With await BusinessCallbackAnswer(event) ?
It raises this error:
if getattr(Obj, "_answered"):Читать полностью…
AttributeError: 'UpdateBusinessBotCallbackQuery' object has no attribute '_answered'
it's not officially documented but i think it's 30-50 request per minute
Читать полностью…3 seconds per request should be enough to not hit the limit
Читать полностью…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
Читать полностью…btw the master version of telethon shouldnt need the date hack anymore
Читать полностью…Traceback (most recent call last): File "/home/userland/c/bot.py", line 1168, in <module> @bot.on(events.ChosenInlineResult) # Correzione definitiva AttributeError: module 'telethon.events' has no attribute 'ChosenInlineResult'
Hi everyone, does this function still exist or has it been changed?
thank you bro , Do you know what the rate limit is for GetUsersRequest on Telegram?
Читать полностью…