'Retrieve alarm settings for a telegram bot

I am building a telegram bot that sends a notification about the weather conditions to a user as soon as his/her morning alarm goes off.

I got stuck on the first phase right away: how do I access the time of the alarm on the user's phone? Which algorithms could I use?

I could set the bot to ask the question about the time separately, but accessing it automatically is cooler.

Thank you in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source