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
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
Читать полностью…anyone know how fast it has to be for this to happen? A wait of 171 seconds is required (caused by GetUsersRequest)
Читать полностью…there is nothing to fix, that chat you forwarded to doesn't allow link preview media
Читать полностью…when you define your client like client = TelegramClient(session_path,api_id,api_hash,system_lang_code="ru")
Читать полностью…After Few years , Tg be like : Use 50 stars to see this group's chat*
Читать полностью…It looks some kind of caching. Tho you'll get the latest post after 10 minutes of waiting
Читать полностью…You'll get the same result given the conditions and time were the same.
and iter_messages doesn't use search, it uses usual chat message loading. searching is done by search= argument
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?
Читать полностью…RPCError 403: CHAT_SEND_WEBPAGE_FORBIDDEN (caused by ForwardMessagesRequest)
How to fix this error?
I'm getting flood wait while using SendReactionRequest, is it possible to use proxy and avoid it?
Читать полностью…https://core.telegram.org/api/stars#buying-or-gifting-stars
Читать полностью…I mean with search argument. It doesn't depend on time tbh. Like if I make a post in a channel, then use iter_messages with search, then I make the same post and use iter_messages with search I'll get the first post with limit=1, but not the latest. But in telegram app with the same search I see all of the posts.
Also limit doesn't matter, I tried without limit and it gives the same result
yeah, but if you just use regular telegram app (telegram desktop or any other) you see the new message in search. Don't these client apps use the same API?
Читать полностью…