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

1.2 KiB

title description
messageMediaVenue messageMediaVenue attributes, type and example

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
venue_type string Yes

Type: MessageMedia

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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