# Botón de solicitud de geolocalización

{% hint style="info" %}
Funciona en Telegram y Viber.
{% endhint %}

Selecciona el **"Solicitar geolocalización"** función para crear un botón que pide al usuario que comparta su ubicación.

<figure><img src="/files/3470de0136b33440bf97f52be7faac571afa96b1" alt=""><figcaption></figcaption></figure>

Cuando un cliente aprueba la solicitud de ubicación, sus coordenadas geográficas (latitud y longitud) se envían al bot en un mensaje.

{% hint style="success" %}
La longitud y la latitud se guardarán automáticamente en las variables `longitud` y `latitud`.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mavibot.ai/doc/es/chatbot/builder/botones/boton-de-solicitud-de-geolocalizacion.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
