MadelineProtoDocs/old_docs/API_docs_v24/constructors/inputMediaGeoLive.md

40 lines
839 B
Markdown
Raw Permalink Normal View History

2020-06-16 17:50:25 +02:00
---
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}
```