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'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.