Link Search Menu Expand Document

Constructor: keyboardButtonRequestGeoLocation

Back to constructors index

Button to request a user’s geolocation

Attributes:

NameTypeRequiredDescription
textstringYesButton text

Type: KeyboardButton

Example:

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