Похожие чаты

How to do like that in telethon?: while event.message.raw_text == 'stop':

sleep(1)
if event.message.raw_text == 'start':
break
print("Now, i can answer to your messages!")

2 ответов

14 просмотров

sleeping or not is unrelated to telethon… unless you mean you want to enable sequential_updates=True in the client constructor which then, if you do await asyncio.sleep(5), will delay other updates for being processed for 5 seconds

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

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

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

я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
83
читать файл максимально быстро? странный вопрос))
zamtmn
53
30 BCH videos in Hausa Language successfully delivered. In December 2023, I created a Flipstarter to produce Bitcoin Cash videos in the Hausa language for greater outreach an...
Munnir
5
bhai koi aur group ha crpto discussion ke liye?
ashu bhardwaj
12
I saw that? Again sounds very good for WOD i am DYP investor and holder, from which WOD was created right? Ill ask the question again Dhoni do i as a DYP holder for more than ...
DavidAkaLugi
9
Интересно, а майкрософт 365 может запустится на линукс минт?
Лисицка
18
How to create an OS in C? what to study?
Linus
18
Всем доброго вечера! Хочу поделиться своим злоключением с человеком, который, как оказалось сюда тоже скидывал свое резюме. Жаль, что я вашу группу не нашел раньше… человек ки...
Роман Ахмедзянов
4
братва! где куличи брать?
Alöscha
25
тоесть, указав return eax, сгенерируется никому ненужная инструкция mov eax,eax ?
Aiwan \ (•◡•) / _bot
24
Карта сайта