1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-03 17:07:47 +01:00
MadelineProto/old_docs/API_docs_v72/constructors/messageMediaGeoLive.md
2017-11-15 12:41:58 +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}