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
nothing will change it for unknown people. only message receiver can see online status temporarily in User.status of Message
Читать полностью…I don't need the code. just mention what 'files' consists of, and the error
Читать полностью…galleries can't have inline markup. it's api limit
Читать полностью…You can't send buttons with album. as for spoiler see /channel/TelethonChat/589623, message.media can be substituted with /channel/TelethonChat/615036
Читать полностью…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.
Читать полностью…Yes, but why does it stop working after that and how to fix it?
Читать полностью…Thanks for the detailed answer disk, appreciate it 🌹
Читать полностью…/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
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?
Читать полностью…No, the problem appears earlier, when I try to get a user entity
Читать полностью…you can't send gifts to users you haven't chat with before
Читать полностью…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
Читать полностью…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
)
Error creating filter 'Accepted': TypeError: a TLObject was expected but found something else
Читать полностью…You don't fix it. just don't delete your session next time
Читать полностью…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.
Читать полностью…Hello, how can I combine photos and videos in an album?
Читать полностью…Neither, you just deleted your session file. server allows fetching back the users who started your bot but not the rest
Читать полностью…And why does it stop working today, it works all the time before, what happened to the telegram or telethon?
Читать полностью…use usernames instead of found or ask the user to dm the bot or assistant account if needed
Читать полностью…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
Читать полностью…ok i only was tagging any admin online to remove before someone report to tg support
Читать полностью…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?