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
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
He could use mtproto
All you asked is possible use mtproto you could find many libraries for that
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!
Pyrogram is mtproto man
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.
it says it is not supported from the box https://docs.pyrogram.org/topics/voice-calls?highlight=call
Обсуждают сегодня