MadelineProtoDocs/old_docs/API_docs_v35/constructors/messageMediaGeoLive.md
2020-06-16 17:50:25 +02: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}