1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 13:46:54 +01:00
MadelineProto/docs/TD_docs/constructors/venue.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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'}