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
hi all
tell me please the difference between client.start() and client.connect() ?
in my code example both are used. but as far as I understand the code continues to work if you remove client.start()
Hi,
do you guys have any problem with inline buttons lately?
the keyboard does not show up for some of my bot user's, and I get no error in the log
also tried updating telethon to the latest version, any idea?
By using this function I can set new admin, but how to transfer ownership?
I didnt find related information in documentation, is it implemented ?
this pains me, anyway I mostly just copypastad the original
Читать полностью…fasttelethon is a script for parallel uploads/downloads
Читать полностью…Hi and welcome to the group. Before asking any questions, please read the rules from the group's description, and don't forget to read the docs. Make sure you are using the latest version with pip3 install -U telethon
, since most problems have already been fixed in newer versions.
webm must be in a pack and follow metadata restrictions to display as sticker, it's serverside. tgs and webp are wrongly displayed as stickers by apps under most conditions
Читать полностью…uploading is done to account's datacenter, downloading files is connected to uploader's datacenter
besides that, userbase download more than they upload, it's natural upload is less restricted
ok, after I restart telegram desktop
the buttons appear again 😂
Is everything working okay with your client?
I have a quick question, why anyoner not in my contact, writes first time to me, In answering getting error with id? Thanks
Читать полностью…I print the buttons and event.edit:
[[<telethon.tl.types.KeyboardButtonCallback object at 0x0000018986A30BC0>]]Читать полностью…
edit >>>>
<bound method CallbackQuery.Event.edit of <telethon.events.callbackquery.CallbackQuery.Event object at 0x0000018986A33170>>
Good evening, please tell me how I can view stories of different users in Telegram? And is it possible to save them? Is there such a way at all?
Читать полностью…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.
Guys, help me. How to use Media Sharing in Mini App, i don't find any docs for it
Читать полностью…I seem to have managed with this
from telethon.tl.types import DocumentAttributeSticker
from telethon.tl.types import InputStickerSetEmpty
await event.client.send_file(event.chat_id, "sticker.webm", attributes=[DocumentAttributeSticker(alt="", stickerset=InputStickerSetEmpty())])
Sending a webm with send_file doesn't send it as a sticker
I downloaded a sticker from a stickerpack and tried resending and it got sent as a file too
And is it normal that the upload speed is higher than the download speed?
Читать полностью…maybe teleram desktop bug
no buttons appear
but button appear in Android app 😅
hi, guys
I encountered some strange things
I edit message in @client.on(events.CallbackQuery())
buttons = [
[
Button.inline("Option E", b"E")
]
]
event.edit('some text', buttons = buttons)