MadelineProtoDocs/old_docs/API_docs_v24/constructors/inputMediaGeoLive.md
2020-06-16 17:50:25 +02:00

839 B

title description image
inputMediaGeoLive Live geographical location https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputMediaGeoLive

Back to constructors index

Live geographical location

Attributes:

Name Type Required Description
geo_point InputGeoPoint Optional Current geolocation
period int Yes Validity period of the current location

Type: InputMedia

Example:

$inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, 'period' => int];

Or, if you're into Lua:

inputMediaGeoLive={_='inputMediaGeoLive', geo_point=InputGeoPoint, period=int}