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

970 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
stopped Bool Optional Whether sending of the geolocation was stopped
geo_point InputGeoPoint Optional Current geolocation
period int Optional Validity period of the current location

Type: InputMedia

Example:

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

Or, if you're into Lua:

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