Constructor: messageMediaGeoLive

Back to constructors index

Message media geo live

Attributes:

Name Type Required Description
geo GeoPoint Optional Geo
period int Yes Period

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}