Constructor: messageMediaGeoLive

Back to constructors index

Attributes:

Name Type Required
geo GeoPoint Optional
period int Yes

Type: MessageMedia

Example:

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

PWRTelegram json-encoded version:

{"_": "messageMediaGeoLive", "geo": GeoPoint, "period": int}

Or, if you’re into Lua:

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