Lanka Lanka docs

Ask for a phone number

The bot asks for a number and shows a button under the input field that sends it. The number 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 "📱 Share phone number" in the person's language.
  3. Hint — grey text in the input field. Without one the bot writes "Or type your phone number".
  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 sends this Telegram account's number. The person can type another number too, a relative's or a work one. Either way the number is in the variable's "phone_number" field.

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.