--- title: keyboardButtonTypeRequestLocation description: A button which sends user location when pressed, available only in private chats --- ## Constructor: keyboardButtonTypeRequestLocation [Back to constructors index](index.md) A button which sends user location when pressed, available only in private chats ### Attributes: | Name | Type | Required | Description | |----------|:-------------:|:--------:|------------:| ### Type: [KeyboardButtonType](../types/KeyboardButtonType.md) ### Example: ``` $keyboardButtonTypeRequestLocation = ['_' => 'keyboardButtonTypeRequestLocation', ]; ``` Or, if you're into Lua: ``` keyboardButtonTypeRequestLocation={_='keyboardButtonTypeRequestLocation', } ```