1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 12:19:36 +01:00
MadelineProto/old_docs/API_docs_v46/constructors/messageMediaVenue.md
2017-07-23 16:11:02 +02:00

1.1 KiB

title description
messageMediaVenue messageMediaVenue attributes, type and example

Constructor: messageMediaVenue

Back to constructors index

Attributes:

Name Type Required
geo GeoPoint Yes
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, }