MadelineProtoDocs/old_docs/API_docs_v40/constructors/messageMediaVenue.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.2 KiB

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

Constructor: messageMediaVenue

Back to constructors index

Attributes:

Name Type Required
geo GeoPoint Optional
title string Yes
address string Yes
provider string Yes
venue_id string Yes

Type: MessageMedia

Example:

$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string'];

PWRTelegram json-encoded version:

{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"}

Or, if you're into Lua:

messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'}