Relative Content

Tag Archive for c#asp.nettelegramtelegram-bothmac

Validating data received via the Mini App in C#

I’m writing a backend for my mini-application and I’m faced with the problem of validating the data I receive. According to the official documentation (if I understood correctly), the hash is obtained from initDataUnsafe.hash, which is then validated against initData.
But when I tried to implement this, nothing works for me.