MadelineProtoDocs/old_docs/API_docs_v81/constructors/messageMediaGeo.md
2018-07-12 20:24:55 +02:00

737 B

title description image
messageMediaGeo messageMediaGeo attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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}