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