mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-02 23:07:45 +01:00
1.2 KiB
1.2 KiB
title | description |
---|---|
inputMediaVenue | inputMediaVenue attributes, type and example |
Constructor: inputMediaVenue
Attributes:
Name | Type | Required |
---|---|---|
geo_point | InputGeoPoint | Yes |
title | string | Yes |
address | string | Yes |
provider | string | Yes |
venue_id | string | Yes |
venue_type | string | Yes |
Type: InputMedia
Example:
$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string'];
PWRTelegram json-encoded version:
{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "venue_type": "string"}
Or, if you're into Lua:
inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'}