MadelineProtoDocs/old_docs/API_docs_v73/constructors/inputMediaGeoLive.md
2019-12-27 17:48:04 +01:00

40 lines
839 B
Markdown

---
title: inputMediaGeoLive
description: Live geographical location
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputMediaGeoLive
[Back to constructors index](index.md)
Live geographical location
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Optional|Current geolocation|
|period|[int](../types/int.md) | Yes|Validity period of the current location|
### Type: [InputMedia](../types/InputMedia.md)
### Example:
```php
$inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, 'period' => int];
```
Or, if you're into Lua:
```lua
inputMediaGeoLive={_='inputMediaGeoLive', geo_point=InputGeoPoint, period=int}
```