Похожие чаты

2022-07-14 07:42:31,827 - telethon.client.updates - ERROR - Unhandled exception on

start
Traceback (most recent call last):
File "/home/but/virtualenv/Fk/3.8/lib/python3.8/site-packages/telethon/client/updates.py", line 467, in _dispatch_update
await callback(event)
File "main.py", line 94, in start
await event.reply("💢 لطفا ین پیام کل ) را ریرشود.\n🔢"+ str(random.randint(1000000,9999999)))
File "/home/bit/virtualenv/Fk/3.8/lib/python3.8/site-packages/telethon/tl/custom/message.py", line 757, in reply
return await self._client.send_message(
File "/home/bunnynit/virtualenv/Fuck/3.8/lib/python3.8/site-packages/telethon/client/messages.py", line 872, in send_message
result = await self(request)
File "/home/bhit/virtualenv/Fk/3.8/lib/python3.8/site-packages/telethon/client/users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered)
File "/home/bit/virtualenv/Fk/3.8/lib/python3.8/site-packages/telethon/client/users.py", line 84, in _call
result = await future
telethon.errors.rpcerrorlist.UserIsBlockedError: User is blocked (caused by SendMessageRequest)


Why this happend??

4 ответов

14 просмотров

telethon.errors.rpcerrorlist.UserIsBlockedError: User is blocked (caused by SendMessageRequest) I have this problem too. I wanted to send message i got this error. im using a bot and im sure the user not blocked the bot. Anyone know how to solve ?

Drandroid- Автор вопроса
arman
telethon.errors.rpcerrorlist.UserIsBlockedError: U...

Only thing i undrestood is it may happen by lot amount of users using the bot. Before it was showing another error for many users. Now another one. The annoying thing is it only happens on telethon. Php i tryied with 10k /start on my bot. No error or .... happened and answered all of them.

Drandroid- Автор вопроса

I have a bot Let me first mention that it being /start ed by 10k people at a minute It is fine at low amount of users But in proud of time it shows that error . its a bot. I test it by myself. I checked that it wasn't blocked by me. All 10k people could not get answer from bot just showing this error

Похожие вопросы

Обсуждают сегодня

Типа вызывать GetParent и проверять на соответствие GetModuleHandle?
The Bird of Hermes
67
Всем привет! Кто нибудь парсил в ручную JSON без библиотек и фреймворков? Есть может ссылки на оптимальный алгоритмы работы с текстом и примеры таких парсеров?
Lem
27
Do any of you guys have interesting projects one could join? I'm a Middle Full-Stack developer (JS/TS, React & Node)
Lev Shapiro
40
I read yesterday that in the near future most cryptos will be gone. It's like there is a lot of bullshit within the crypto sphere and this corruption some way is going to be c...
Kanah The Great
48
Есть сайт. Там была древняя версия эво. Стоял плагин, который каждый коммент в Jot делал отдельной страницей. После обновления все слетело, теперь старница открывается отдельн...
Artem
1
$res = json_decode($наша строка из респонса); $res1 = array_map(fn($o) => $o->name, $res->breadcrumbs[0]->entities); Как такое будет на Хаскеле?.. В начале весь джейсон, в ко...
Хаскель Моисеевич Гопник
27
Добрый день. А shovel'ы можно как-то сконфигурировать в definitions.json? Пробовал что-то вроде: { "users": [ { "name": "agent", "password_hash": "RBCbTzQd...
Aleksey
1
Hello, I have a question. Can anyone help me? I want to make my cryptocurrencies, like Tron, untraceable by anyone, even government organizations. I was told that to do this,...
 ➛ Eᒪᕼᗩᗰ
14
Вопрос по диагностике ошибок (я знаю в чем, в данном конкретном примере, я знаю, как исправить, пример модельный, понятно, что в реальности бывает намного запутаннее). module...
ⰄⰎⰋⰐⰐⰑⰛⰤⰧⰧⰩⰄ ⰊⰑⰁⰓⰡⰛⰦⰕⰫ
11
2024-06-30 22:04:24,838+0000 WARN [quartz-9-thread-1] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskJob - Task nexus.94c27384-9fb9-444b-b571-d144e7997d5a instanti...
Dobry kot
2
Карта сайта