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

sign in won't retry for you

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

Telethon Chat

Then its giving me that i dont giving a password, but actually im

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

Telethon Chat

Can you type how it would be in code please?

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

Telethon Chat

global phone, password, api_id, api_hash, client
try:
code = ''.join(message.text.split())
await client.sign_in(phone, code, password)

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

Telethon Chat

Now its typing that im giving 4 args, but actually im giving 3(sing_in() takes to 3 args)

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

Telethon Chat

I would like to use conversation in a group chat, can i make it so only the admin or the triggerer can reply?

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

Telethon Chat

Oh, thank you very much, ill try it

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

Telethon Chat

Like code?

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

Telethon Chat

Hello guys, i get the confirmation code has expired (caused by signinrequest) error, but code is correct and new, what i should to do, please help 🙏

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

Telethon Chat

/channel/TelethonChat/562800

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

Telethon Chat

It has no seconds. you must contact the bot to find out

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

Telethon Chat

I just did bytes(media)
Won't this work?

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

Telethon Chat

You can pickle objects as bytes then base64 it since telethon doesn't have usable file_id, pass the MessageMedia* object than local file

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

Telethon Chat

How?
It needs object supporting the buffer API

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

Telethon Chat

I got confused between telethon v2.0

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

Telethon Chat

pretty sure you need to run it twice

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

Telethon Chat

just replace password with password=password

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

Telethon Chat

password is keyword argument, pass as password=password

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

Telethon Chat

code or full traceback to Pastebin.com

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

Telethon Chat

/channel/TelethonChat/576181

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

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

No. split the digits by symbols or spaces

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

Telethon Chat

/channel/TelethonChat/564851

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

Telethon Chat

How can get similar channels?

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

Telethon Chat

Hi! How can I get the chat_id of a chat attached to a channel where people leave comments?

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

Telethon Chat

why would you do that? I'm talking about storing/re-sending what you sent before after checking if it's duplicate, if you need that, do it. otherwise just use sha256 or whatever algo to check for duplication


if you're reffering to files you don't upload but download, then be specific from start, you must downlod them then hash them, and assign each media id: hash

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

Telethon Chat

It's giving different hashes for both files

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

Telethon Chat

yeah, any hashing algo will do if performance doesn't matter

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

Telethon Chat

hashlib.sha256(media).hexdigest()
This?

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

Telethon Chat

oh wait it is .seconds only.

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