mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 13:46:54 +01:00
1.3 KiB
1.3 KiB
title | description |
---|---|
venue | Describes venue |
Constructor: venue
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'}