Telegram game bot


Hey I’m triying to make this telegram game and this the required script that I need to add to my game for it to work :
but I don’t how to add it. I tried to add it as a js code but it still didn’t work.
if any one has any experience with telegram games help.