unity-telegram-game-backend

Unity Telegram Game - Backend

For complete overview of the project, please visit the Unity package GitHub repository.

This is a Node.js app that serves two purposes:

  1. Run a Telegram bot
  2. Serve a game (actually, an index.html file)

Note that this repo is essentially only that. So it isn’t mandatory to be used with a Unity game. Actually, the project from which this project has been forked implements a fully js T-Rex game.

This project contains a very simple Unity Game, which uses the unity-telegram-game package.

Create a Telegram bot

The first step is to create a Telegram bot. Talk to the BotFather and store the token it will give you.

In this app, we will only do two things related to the bot:

Installation