Only in the mobile version of the Telegram app can you share your geo-position.
The Question block must not be empty, otherwise the button will not be displayed.
Click the Actions tab.
Add the Location Request action.
Enter text in the Button label field that will be displayed on the button.
Select the arrow coming out of the Question box and set the following parameters:
The resulting data is saved to the variable you specify, as a string in the format:
{“latitude”: 54.838496, “longitude”: 83.114197}.
To get latitude and longitude values from this string separately, use a BPL expression:
$geo=str.replace($geo, ",", ":")
$geo=str.replace($geo, "}", "")
$geo=str.split($geo, ":")
$lat=$geo.get(1)
$long=$geo.get(3)
The expression formats the $geo variable into which the received data are written. The latitude and longitude values are extracted from this variable and written separately to the $lat and $long variables, respectively.