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

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()

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

Telethon Chat

An update is out to fix that

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

Telethon Chat

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?

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

Telethon Chat

By using this function I can set new admin, but how to transfer ownership?
I didnt find related information in documentation, is it implemented ?

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

Telethon Chat

this pains me, anyway I mostly just copypastad the original

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

Telethon Chat

there is one from paioner i think it's safe

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

Telethon Chat

Omg i got it from Deepseek ai app

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

Telethon Chat

fasttelethon is a script for parallel uploads/downloads

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

Telethon Chat

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.

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

Telethon Chat

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

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

Telethon Chat

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

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

Telethon Chat

ok, after I restart telegram desktop

the buttons appear again 😂

Is everything working okay with your client?

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

Telethon Chat

I have a quick question, why anyoner not in my contact, writes first time to me, In answering getting error with id? Thanks

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

Telethon Chat

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>>

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

Telethon Chat

No. only admin bots get them

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

Telethon Chat

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?

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

Telethon Chat

Tdesktop bug if you're on tdesktop 5.16.0

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

Telethon Chat

TL Reference for editcreator

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

Telethon Chat

Read The Docs!

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

Telethon Chat

/channel/TelethonChat/430715

still work?

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

Telethon Chat

/channel/TelethonChat/676916 is safe

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

Telethon Chat

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.

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

Telethon Chat

Guys, help me. How to use Media Sharing in Mini App, i don't find any docs for it

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

Telethon Chat

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())])

I got a pyrogram client to send the sticker and then printed the attributes with telethon

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

Telethon Chat

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

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

Telethon Chat

And is it normal that the upload speed is higher than the download speed?

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

Telethon Chat

maybe teleram desktop bug

no buttons appear

but button appear in Android app 😅

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

Telethon Chat

Everything seems to be normal 🤔

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

Telethon Chat

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)


The code was working fine some time ago, but now, it seem clear the buttons, no button appears

Can someone help me see?

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

Telethon Chat

/channel/TelethonChat/631783

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