MadelineProto/docs/TD_docs/constructors/keyboardButtonTypeRequestLocation.md

37 lines
737 B
Markdown

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