MadelineProto/docs/TD_docs/constructors/venue.md
2017-07-23 16:33:46 +02:00

1.3 KiB

title description
venue Describes venue

Constructor: venue

Back to constructors index

Describes venue

Attributes:

Name Type Required Description
location location Yes Venue location as defined by sender
title string Yes Venue name as defined by sender
address string Yes Venue address as defined by sender
provider string Yes Provider of venue database as defined by sender. Only "foursquare" need to be supported currently
id string Yes Identifier of the venue in provider database as defined by sender

Type: Venue

Example:

$venue = ['_' => 'venue', 'location' => location, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'id' => 'string'];

PWRTelegram json-encoded version:

{"_": "venue", "location": location, "title": "string", "address": "string", "provider": "string", "id": "string"}

Or, if you're into Lua:

venue={_='venue', location=location, title='string', address='string', provider='string', id='string'}