Skip to content

MichaMican/TelegramSBRBot

Repository files navigation

TelegramSBRBot

Description

A Telegram messenger bot, with different functions.

SetUp

  • 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

Special Thanks to Joseph Paul for letting me use his RandomUslessFactsAPI as a source for the FunFact "subscription" service

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published