Lanka Lanka docs

Ask for a location

The bot asks for a location and shows a button under the input field that sends it. The answer is saved to a variable, and the dialog moves on.

How to set it up

  1. Write the request in the step's text.
  2. Button — the button's caption. Without one the bot writes "📍 Send location" in the person's language.
  3. Hint — grey text in the input field. Without one the bot writes "Or type your address".
  4. Save to — the variable the answer goes to. It stays with the person for good: next time the bot remembers it.

What is saved

The button does not work in every Telegram app, so the person can type an address. Coordinates are in the variable's "latitude" and "longitude" fields, a typed address in "address".

If the person stays silent

Add the timeout branch ("No reply") under the step and set how long to wait. When the time runs out, the dialog takes that branch — to a reminder, for example.