Skip to content

Start Parameter

The start parameter is a custom string parameter passed to a Mini App from an external environment. Its value is stored in the tgWebAppStartParam launch parameter.

This parameter is included in one of the following cases:

  • The bot link contains the startattach query parameter.
  • The Direct Link contains the startapp query parameter.

In both cases mentioned above, the start parameter will be set to ABC.


This launch parameter is not included in the location hash. Instead, it can be found in the URL query parameters.


The value of this parameter is duplicated in the init data's start_param property.


  • Maximum length: 64 symbols
  • Allowed symbols: latin alphabet symbols, digits and underscore. The valid regexp for the value is /[\w]{0,64}/.

Released under the MIT License.