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

Don't mislead people. Don't answer, if you don't know

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

Telethon Chat

Hello, help me solve the issue of telegram api and Telethon, I use them for a userbot, and I need to delete the chat using the code using the module
await message.client(DeleteChatUserRequest(int(message.sender_id)))
await utils.answer(
message,
self.strings("status_now").format(
self.strings("enabled") if self.config["status"] else self.strings("disabled")
),
)
except Exception as e:
await message.edit(f"Error :(")
await message.client.send_message("@neurolimites", f"{e}")
But it gives an error
DeleteChatUserRequest.init() missing 1 required positional argument: 'user_id'

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

Telethon Chat

Has anyone gotten an error when trying to get api_id and api_hash from telegram that says

Sorry, too many tries. Please try again later.

how long does it usually last? i waited about 10 hours and still get the same error

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

Telethon Chat

what kind of error is this

Attempt 1 at new auth_key failed: Step 3 invalid new nonce hash

after 2..3 attempts it works

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

Telethon Chat

Hey Ira, don't do that again (non-English) or I will ban you. You have been warned.

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

Telethon Chat

client = TelegramClient(name, api_id, api_hash)
with client: client.loop.run_until_complete(main())

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

Telethon Chat

And what if i wanna use it with "with" there's any solution?

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

Telethon Chat

Why is this considered new ?

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

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, organizing the handlers is up to you

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

Telethon Chat

Is it possible to remove an entity from the session to check if it's added correctly?

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

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

Documentation for get_input_entity

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

Telethon Chat

message.fwd_from.from_id.user_id and get entity

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

Telethon Chat

i do not know what you are asking. please stop tagging me for help.

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

Telethon Chat

how to make my bot commands menu appear only for me?

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

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

Hi, I'm trying to add many contacts to my telegram via Telethon, but receive retry_contacts most of the time.
From 36 accounts, only 1 were added OK.

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

Telethon Chat

Hey Johanna Helga, don't do that again (offtopic) or I will ban you. You have been warned.

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

Telethon Chat

because stackoverflow's feed had it when sorting by most recent and it hadn't been seen by the bot before

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

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

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

New StackOverflow question
How to get telegram user's language or country telethon

https://stackoverflow.com/q/77347025

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

Telethon Chat

use a better csv writer. python has one builtin. this question isn't really related to telethon

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

Telethon Chat

Hey,
Guys i am using Newmessage event but I get repetetive messages from my channels however I added my list of channels once in my script

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

Telethon Chat

Please tell me if telethon has an analogue of routers like in aiogram?
or how best to organize the processing of many handlers in a project?
Thanks in advance for your answers

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

Telethon Chat

what is best practice to have a message with auto deletion?

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

Telethon Chat

Hello!

Is it possible to check if entity exists in the session file?

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

Telethon Chat

I want to get username of a user when I forward a message from that user

but event.message doesn't contain that
is there another way?

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

Telethon Chat

Protect content for client?

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