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
Do I just copy paste the emoticon from telegram or there is a method?
Читать полностью…Sorry, that was by mistake. I deleted the msg immediately
Читать полностью…Hey, does anyone know if it's possible to mute or change member permissions for specific topics within a group?
Читать полностью…layer is here https://github.com/LonamiWebs/Telethon/blob/v1/telethon_generator/data/api.tl
Читать полностью…I deleted all contacts, deleted all chats, but entries continue to appear in the entity table, how do I stop this?
Читать полностью…await event.edit(cmdRes['content'], file=cmdRes['files'][0] if cmdRes['files'] else None, buttons=cmdRes['buttons'] if cmdRes['buttons'] else None)
How to remove buttons
I also tried putting None directly, still didn't fix it
And also Button.clear(), also didn't fix it
It's like the buttons parameter is ignored
TypeError: Cannot cast InputSizedFile to any kind of InputDocument.Читать полностью…
doc_uploaded = utils.get_input_document(uploaded) # or just uploaded 😐👍
Читать полностью…Don't randomly tag people. That is not the way to get help
Читать полностью…and /channel/tgscheme/332 exists
it reconstructs it from decompiled
you can copy api.tl of tdesktop from github but in major changes it can cause problems
test if it works
right, no one has done this before? (not specifically for the layer 197, a tutorial to rebuild it would be good)
Читать полностью…youd have to figure out the new layers changes yourself
Читать полностью…Is there a telethon version updated to Layer 197? Maybe a test branch?
Читать полностью…passing buttons=None is enough. the rest is something to ask the server about
you can confirm by checking the returned message object's .buttons
The main problem is that access_hash and file_reference are unique and you cannot omit them or pass randomly
Читать полностью…Hey, that's not how you ask a question! If you want helpful advice (or any response at all) read this first and then ask again. If you have the time, How To Ask Questions The Smart Way is another wonderful resource worth reading.
Читать полностью…