This is a prototype project of how to get Vaccine Notification in Telegram when any slot is available in a particular district of your city in India.
This is a c# console application. It uses multitasking concept to trigger APIs parallelly and at different time intervals as per need. It uses Co-WIN public APIs to get information about vaccine availability. And sends the notification to user using Telegram Bot.
- Clone this repository.
- Create a Telegram Bot - Following the instrunctions from here.
- Copy the Access Token and use it inside the Program.cs file.
- Make necessary changes in the Program.cs file regarding adding requires users ChatId.
- How to get users chatId. Follow the instrunctions from here.
- For ChatId either you can use Postman/Fiddler or can also use the GetTelegramBotQueries method written inside Program.cs file.
- Build and Run the console app.
- Visual Studio 2019
- C# Console App
- Postman
- Co-WIN Public APIs
- Automatically reading queries from bot and mapping with the logic to overcome manual part of adding user chatIds for a particular district.
- To expand this project for other countries.