MadelineProtoDocs/old_docs/API_docs_v109/constructors/messageMediaGeoLive.md
2020-03-06 12:24:14 +01:00

812 B

title description image
messageMediaGeoLive Indicates a live geolocation https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageMediaGeoLive

Back to constructors index

Indicates a live geolocation

Attributes:

Name Type Required Description
geo GeoPoint Optional Geolocation
period int Yes Validity period of provided geolocation

Type: MessageMedia

Example:

$messageMediaGeoLive = ['_' => 'messageMediaGeoLive', 'geo' => GeoPoint, 'period' => int];

Or, if you're into Lua:

messageMediaGeoLive={_='messageMediaGeoLive', geo=GeoPoint, period=int}