A Telegram messenger bot, with different functions.
- create Telegram bot with Botfather
- create file appsettings.json and put in necessary details (see appsettingsTEMPLATE.json)
- setup DB (Run SQLScripts to create all necessary tables)
- deploy the program to a webservice (e.g. Azure WebService)
- run this command in cmd (replace <> with your stuff):
curl -F "url=https://<YOURDOMAIN.EXAMPLE>/api/Telegram/new-message" https://api.telegram.org/bot<YOURTOKEN>/setWebhook
Special Thanks to Joseph Paul for letting me use his RandomUslessFactsAPI as a source for the FunFact "subscription" service