MadelineProtoDocs/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md

30 lines
735 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "keyboardButtonRequestGeoLocation"
description: "Button to request a user's geolocation"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: keyboardButtonRequestGeoLocation
[Back to constructors index](/API_docs/constructors/index.html)
Button to request a user's geolocation
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|text|[string](/API_docs/types/string.html) | Yes|Button text|
### Type: [KeyboardButton](/API_docs/types/KeyboardButton.html)
### Example:
```
$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string'];
```