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
Then its giving me that i dont giving a password, but actually im
Читать полностью…global phone, password, api_id, api_hash, client
try:
code = ''.join(message.text.split())
await client.sign_in(phone, code, password)
Now its typing that im giving 4 args, but actually im giving 3(sing_in() takes to 3 args)
Читать полностью…I would like to use conversation in a group chat, can i make it so only the admin or the triggerer can reply?
Читать полностью…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 🙏
Читать полностью…It has no seconds. you must contact the bot to find out
Читать полностью…You can pickle objects as bytes then base64 it since telethon doesn't have usable file_id, pass the MessageMedia* object than local file
Читать полностью…password is keyword argument, pass as password=password
Читать полностью…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.
Hi! How can I get the chat_id of a chat attached to a channel where people leave comments?
Читать полностью…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
yeah, any hashing algo will do if performance doesn't matter
Читать полностью…