MadelineProtoDocs/old_docs/API_docs_v42/constructors/messageMediaGeoLive.md
2020-09-12 12:47:38 +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}