Hi all! I am from Ukraine and with all what's

happening I need a way to wake up urgently at night whem there are posts in particular chats/channels.
I am new to bot dev but have 5 years in IT, so decided to create a bot that will wake me up somehow, maybe you could help me out with some questions:
1. As I understand, bot CAN subsribe to channels, so receiving a msg isnt a problem?
2. I didn't get if a bot can call me to wake me up, but I've found an external api tool here https://www.callmebot.com/telegram-call-api/
3. Maybe someone knows about such bot or any other way this can be accomplished? available notification sounds are too short and quiet (w/o relying on actual people calling, obviously😅)

I will be really thankful for any help! nights are long here and sleeps are short

7 ответов

48 просмотров

first of all I hope you're safe, I'm from Poland and we're all rooting for you here, I'm closely following the news myself about questions: 1. Bot can't subscribe to a channel, no. Only admins can add bot to a channel 2. bot can't call, no 3. uhhh, it depends what wakes you? send more messages? spam them until you tell bot to stop? be safe and stay strong

All you asked is possible use mtproto you could find many libraries for that

Пастельная-Кукла Автор вопроса
Растровая Буква
All you asked is possible use mtproto you could fi...

yeah, I’ve already created user-bot with use of pyrogram, but the last thing is needed is to add a calls, now I am using that API, tried to use pytgcalls, but looks like it cannot initiate a call atm, not in release version will try with mtproto a bit later, thanks for info!

Пастельная Кукла
yeah, I’ve already created user-bot with use of py...

A user can use multiple clients in parallel. That means a userbot can run multiple parts of the bot independently on multiple devices or with different libraries.

Пастельная-Кукла Автор вопроса
Растровая Буква
Pyrogram is mtproto man

it says it is not supported from the box https://docs.pyrogram.org/topics/voice-calls?highlight=call

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

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

Он в одиночку это дело запилил или была какая-то команда?
Фотографический Ёж
12
Вообще кстати бывают такие тулкиты чтобы вот разработал под ОС X, всё оттестировал работает А потом собрал под ОС Y - и там просто без вообще любых изменений заработало?
Пятнистый Ветер
14
всем привет, кто знает нормальный гайд как настроить отладчик в Intelij на Windows?
Ванильный Глухарь
6
А тут все сообщения из матрикс сервера видны будут?
Пятнистый Ветер
2
а телега разве проприетарная?
Пятнистый Ветер
2
А, вообще, знает кто-нить альтернативы D в области безопасных, читабельных ОО-языков?
Новое Лукошко
14
И его забанить админ если что сможет потом?
Пятнистый Ветер
1
А в чем прикол этого матрикса? @quantumde1
Пятнистый Ветер
1
моста? это теперь так гейт называют?
Дневная Трясогузка
1
Работа над эдишенами там какая-то ведется? Или пока что тишина?
Пятнистый Ветер
1
Карта сайта