MadelineProtoDocs/docs/API_docs/constructors/messageMediaGeoLive.md

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}