Constructor: keyboardButtonRequestGeoLocation
Button to request a user’s geolocation
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| style | KeyboardButtonStyle | Optional | |
| text | string | Yes | Button text |
Type: KeyboardButton
Example:
$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'style' => KeyboardButtonStyle, 'text' => 'string'];