MadelineProtoDocs/old_docs/API_docs_v81/constructors/messageMediaGeo.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

764 B

title description image
messageMediaGeo Message media geo https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageMediaGeo

Back to constructors index

Message media geo

Attributes:

Name Type Required Description
geo GeoPoint Optional Geo

Type: MessageMedia

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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