I am looking into ways of making a Telegram bot in C#, but can’t find a single example that does not use third party libraries. So far Azure functions+generic webhooks seem like a possible solution, though I am not sure about the limits of Azure functions (can I work with files and databases in them?). Another option I see is making a full app that will be runnin on Azure virtual machine and use the same generic webhooks.
Are there other options? Maybe someone had an experience writing a bot without third-party libraries? Links and examples will be greatly appreciated.