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

nothing will change it for unknown people. only message receiver can see online status temporarily in User.status of Message

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

Telethon Chat

I don't need the code. just mention what 'files' consists of, and the error

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

Telethon Chat

galleries can't have inline markup. it's api limit

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

Telethon Chat

/channel/TelethonChat/677196

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

Telethon Chat

You can't send buttons with album. as for spoiler see /channel/TelethonChat/589623, message.media can be substituted with /channel/TelethonChat/615036

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

Telethon Chat

Telethon is free software. That means using it is a right: you are free to use it for absolutely any purpose whatsoever. However, help and support with using it is a privilege. If you misbehave or want to do bad things, despite possibly having good intentions, nobody is obligated to help you.

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

Telethon Chat

Yes, but why does it stop working after that and how to fix it?

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

Telethon Chat

/channel/TelethonChat/677523

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

Telethon Chat

Thanks for the detailed answer disk, appreciate it 🌹

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

Telethon Chat

/channel/TelethonChat/608402

https://github.com/LonamiWebs/Telethon/blob/v1/telethon/client/users.py#L130

something as should_raise = self._mb_entity_cache.self_bot or isinstance(...)

you should never reach this point of making request to wrong datacenter if you manage the state properly with UpdateBotBusinessConnect and manual GetBotBusinessConnection if missed, by exporting sender to right dc, it's something for the library to deal with internally

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

Telethon Chat

Ok I'll use usernames, but there is so much code that was oriented on work only with user ids, and now I should rewrite all of that, maybe there is a way to work with ids like before?

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

Telethon Chat

No, the problem appears earlier, when I try to get a user entity

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

Telethon Chat

you can't send gifts to users you haven't chat with before

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

Telethon Chat

I know, dont ping specific admins

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

Telethon Chat

With usernames it still works in any cases

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

Telethon Chat

seeing last messages that have come or search in chat with keywords will show us as online or reading thr chat? or only reply will

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

Telethon Chat

Hello can I share my code please in your pm?
I have a problem in sending photos + video in one album
from Instagram that all passed in all files to send_File
for i in range(0, len(files), 10):
batch = files[i:i + 10]
caption = "📥 Downloaded Media" if i == 0 else None
# Solution: Pass a mixed list once to send_file
await client.send_file(
event.chat_id,
batch,
caption=caption,
force_document=False
)

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

Telethon Chat

why can't?
it was possible In pyro :/

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

Telethon Chat

Error creating filter 'Accepted': TypeError: a TLObject was expected but found something else

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

Telethon Chat

You don't fix it. just don't delete your session next time

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

Telethon Chat

I want to build a Telegram customer-service system that can log in with dozens—or even up to 100—session accounts. I need to be able to open any session’s chat history at any time to review it. Are there any GitHub projects like this? I’d like to check them out. Thank you.

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

Telethon Chat

& how can I send album with Inline Keyboard?

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

Telethon Chat

Hello, how can I combine photos and videos in an album?

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

Telethon Chat

Neither, you just deleted your session file. server allows fetching back the users who started your bot but not the rest

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

Telethon Chat

And why does it stop working today, it works all the time before, what happened to the telegram or telethon?

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

Telethon Chat

use usernames instead of found or ask the user to dm the bot or assistant account if needed

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

Telethon Chat

if they have username you can use it but if not you will have to chat with them to grt access hash to send gift

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

Telethon Chat

ok i only was tagging any admin online to remove before someone report to tg support

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

Telethon Chat

some bot was posting po*n

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

Telethon Chat

Hi everyone

I have a problem with my Telethon script that used to automatically send Telegram gifts.

Until today, everything worked fine. But starting today, the get_input_entity function raises a ValueError when I pass user IDs to it.

Previously, it worked with an user ID — whether I had a chat history with them or not. But now, I tested and found that it still works for users I have chatted with, but fails with this error for users I haven’t chatted with.

Does anyone know what changed or what’s going on?

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