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
I want to send all the stars that the bot has to one person
Читать полностью…https://github.com/LonamiWebs/Telethon/issues/1174
Читать полностью…My number not registered in telegram
But......
What is the problem?
Anyone tried to work with ToDo lists?
I have the last Telethon version but I don't receive any update about todo_list service messages.
I receive the todo list polls without issue but not the service messages about them
I use raw but nothing displayed:@client.on(events.Raw())
@error_notifier
async def raw_event(event):
print(f"Raw event: {event.stringify()}")
If you want to increase up/down speed, you can install cryptg
via pip.
This module aims to provide a better encryption/decryption algorithm for Telegram clients.
If you want to increase speed even further, you can use this snippet
Be cautious while using it, because it can lead to FloodWait
error, as it uses multiple simultaneous connections.
I've answered it many times, it's generally up to you how you store things. Telethon isn't restricting.
/channel/TelethonChat/634326
/channel/TelethonChat/612970
you can also use the message.file.id for the file_id, as long as you're working with videos/documents. photos need the patch I mentioned above
It's been outdated for long, a bot-api file_id passed to telethon won't work for sending, there are format changes
but a telethon file_id passed to bot-api will work, tdlib has backwards compatibility. tho only documents, it's broken for photos since location and other fields were gone many layers ago, but that too can be patched in some unorthodox method /channel/TelethonChat/641871
after the patch, then yeah, for storing and sending by telethon and bot-api/tdlib will work but not sending by telethon from botapi file_id
why not? there's pack_to / pack_from bot-style file id 🤔
Читать полностью…but it seems upload_file() not has parameter for thumbnail
Читать полностью…layer is unrelated to this. and remove that exception and show the full traceback
Читать полностью…Oh damn, so i can not iterate using other libraries at all
Читать полностью…why TelegramClient.iter_participants only iterate over first 200 members of channel?
how can iterate over all of channel members?
telegram bug or maybe the owner of this number have created an account with this number before and this number still linked to that account
Читать полностью…Yeah I got FILTER_ID_INVALID because I passed 1000 as the id (didn't know about the 250 limit), THANKS!
Читать полностью…I got FILTER_ID_INVALID last time I tried it, may be I did something wrong, will try it again
Читать полностью…Hey, what is the MTProto API request to create a new folder?
Читать полностью…Hi, i cant get any decent speed downloading big files, i did try with cryptg and FastTelethon but no where need to what i get in desktop
Читать полностью…If I have an Instagram bot that saves files as cache memory on the disk, what should I do to use something like a file ID?
Save in telegram channel then use the link to send them again from channel to user as Album can be?
Sure, I understand now. Thanks for the explanation.
Читать полностью…pass what it returns as the file to _file_to_media
Читать полностью…After updating the layer, I encountered a proxy connection issue. Does anyone know a solution? Everything works on previous layers (e.g., 201/204).
[16:19:52][-] Thread 1: 573132481521 connection error via socks5://1.1.1.1:11000:Rxxx:хххххх_country-co: __init__() takes 2 positional arguments but 3 were givenЧитать полностью…