telethonchat | Unsorted

Telegram-канал telethonchat - Telethon Chat

6095

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

Subscribe to a channel

Telethon Chat

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.

Читать полностью…

Telethon Chat

How to use it? With await BusinessCallbackAnswer(event) ?
It raises this error:

   if getattr(Obj, "_answered"):
AttributeError: 'UpdateBusinessBotCallbackQuery' object has no attribute '_answered'

Читать полностью…

Telethon Chat

/channel/TelethonChat/569224

Читать полностью…

Telethon Chat

it's not officially documented but i think it's 30-50 request per minute

Читать полностью…

Telethon Chat

3 seconds per request should be enough to not hit the limit

Читать полностью…

Telethon Chat

anyone know how fast it has to be for this to happen? A wait of 171 seconds is required (caused by GetUsersRequest)

Читать полностью…

Telethon Chat

there is nothing to fix, that chat you forwarded to doesn't allow link preview media

Читать полностью…

Telethon Chat

when you define your client like client = TelegramClient(session_path,api_id,api_hash,system_lang_code="ru")

Читать полностью…

Telethon Chat

/channel/TelethonChat/654171

Читать полностью…

Telethon Chat

If I use multiple api I'd and hash?

Читать полностью…

Telethon Chat

After Few years , Tg be like : Use 50 stars to see this group's chat*

Читать полностью…

Telethon Chat

how to send stars like this

Читать полностью…

Telethon Chat

how to get users ids

Читать полностью…

Telethon Chat

It looks some kind of caching. Tho you'll get the latest post after 10 minutes of waiting

Читать полностью…

Telethon Chat

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

Читать полностью…

Telethon Chat

btw the master version of telethon shouldnt need the date hack anymore

Читать полностью…

Telethon Chat

/channel/TelethonChat/639520

Читать полностью…

Telethon Chat

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?

Читать полностью…

Telethon Chat

thank you bro , Do you know what the rate limit is for GetUsersRequest on Telegram?

Читать полностью…

Telethon Chat

add
asyncio.sleep(3)

Читать полностью…

Telethon Chat

Thanks, problem solved🙏🙏

Читать полностью…

Telethon Chat

RPCError 403: CHAT_SEND_WEBPAGE_FORBIDDEN (caused by ForwardMessagesRequest)


How to fix this error?

Читать полностью…

Telethon Chat

await client.lang("ru") ?

Читать полностью…

Telethon Chat

how to app langues ru

Читать полностью…

Telethon Chat

I'm getting flood wait while using SendReactionRequest, is it possible to use proxy and avoid it?

Читать полностью…

Telethon Chat

https://core.telegram.org/api/stars#buying-or-gifting-stars

Читать полностью…

Telethon Chat

/channel/TelethonChat/582670

Читать полностью…

Telethon Chat

How to get users id for previous requests

Читать полностью…

Telethon Chat

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

Читать полностью…

Telethon Chat

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?

Читать полностью…
Subscribe to a channel