1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 12:47:56 +01:00
MadelineProto/docs/API_docs/constructors/messageMediaGeoLive.md
2017-10-14 09:50:46 +00:00

773 B

title description
messageMediaGeoLive messageMediaGeoLive attributes, type and example

Constructor: messageMediaGeoLive

Back to constructors index

Attributes:

Name Type Required
geo GeoPoint Yes
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}