4baac3178e
Add PHP, Lua language tag to Code area
1.3 KiB
1.3 KiB
title | description | image |
---|---|---|
inputMediaVenue | inputMediaVenue attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputMediaVenue
Attributes:
Name | Type | Required |
---|---|---|
geo_point | InputGeoPoint | Optional |
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'}