Skip to content
We're expanding our documentation. Not all guides are available yet. πŸ› οΈ
Guides
πŸ“± Telegram Mini App

Telegram Mini App Extension

Telegram Mini App Extension

Tutorial

  • Youtube Video soon!
  • In-App Tutorial soon!
  • Template soon!

Overview

The Telegram Mini App extension for 3Engine provides a set of features to interact with Telegram users and retrieve their information. This extension allows developers to create games and applications that can seamlessly integrate with Telegram.

πŸ’‘

Important Note: Use this extension only when the game is running on TMA.

Actions

  • Share a url on Telegram: Share a url on Telegram directly from the game.

Conditions

  • Is TMA: Check if the game is running on TMA.

Expressions

  • FirstName: Get the first name of the connected Telegram user.
  • LastName: Get the last name of the connected Telegram user.
  • ID: Get the ID of the connected Telegram user.
  • Username: Get the username of the connected Telegram user.
  • LanguageCode: Get the language code of the connected Telegram user.
  • AccentTextColor: Get the accent text color of the theme.
  • BGColor: Get the background color of the theme.
  • ButtonColor: Get the button color of the theme.
  • ButtonTextColor: Get the button text color of the theme.
  • DestructiveTextColor: Get the destructive text color of the theme.
  • HeaderBGColor: Get the header background color of the theme.
  • HintColor: Get the hint color of the theme.
  • LinkColor: Get the link color of the theme.
  • SecondaryBGColor: Get the secondary background color of the theme.
  • SectionBGColor: Get the section background color of the theme.
  • SectionHeaderTextColor: Get the section header text color of the theme.
  • SubtitleTextColor: Get the subtitle text color of the theme.
  • TextColor: Get the text color of the theme.