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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.