MadelineProtoDocs/old_docs/API_docs_v89/constructors/inputMediaGeoLive.md
2019-12-27 17:48:04 +01: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}