MadelineProtoDocs/old_docs/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md
2019-12-27 17:48:04 +01: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'}