MadelineProtoDocs/docs/API_docs/constructors/messageMediaGeo.md
2018-04-01 13:24:46 +02:00

664 B

title description
messageMediaGeo messageMediaGeo attributes, type and example

Constructor: messageMediaGeo

Back to constructors index

Attributes:

Name Type Required
geo GeoPoint Optional

Type: MessageMedia

Example:

$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint];

PWRTelegram json-encoded version:

{"_": "messageMediaGeo", "geo": GeoPoint}

Or, if you're into Lua:

messageMediaGeo={_='messageMediaGeo', geo=GeoPoint}