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