MadelineProtoDocs/old_docs/API_docs_v21/constructors/keyboardButtonRequestGeoLocation.md
2020-06-16 17:50:25 +02:00

801 B

title description image
keyboardButtonRequestGeoLocation Button to request a user's geolocation https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: keyboardButtonRequestGeoLocation

Back to constructors index

Button to request a user's geolocation

Attributes:

Name Type Required Description
text string Yes Button text

Type: KeyboardButton

Example:

$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string'];

Or, if you're into Lua:

keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'}