The Telegram endpoint sends each report to a Telegram chat, group, or channel through a bot. If the report contains a screenshot it is sent as a photo with the report text as the caption; otherwise the report is sent as a text message.
Note: This endpoint does not work in WebGL builds due to browser platform restrictions. The credentials you enter here are saved in your game build – for security reasons we suggest removing them for release builds.
🤖 Bot Token
To create a bot and get its token:
- Open @BotFather in Telegram (or press the “Get” button next to the Bot Token field in Unity).
- Create a new bot and follow the prompts.
- Copy the bot token that BotFather gives you.
🆔 Chat ID
Add your bot to the group or channel you want reports to go to, then enter that chat’s ID here. For groups the chat ID is usually a negative number.
✍️ Input in Unity
- In Unity, open your Debug System settings (Window > Sparrow > Debug System).
- Go to the “Where to send reports?” section
- Select “Telegram”
- In the Inspector window, you will see fields for “Bot Token” and “Chat ID”.
- Enter your details into the respective fields.
- Create a Test Report
