1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 05:14:39 +01:00
MadelineProto/old_docs/API_docs_v66/constructors/inputMediaVenue.md
2017-07-23 16:33:46 +02:00

1.1 KiB

title description
inputMediaVenue inputMediaVenue attributes, type and example

Constructor: inputMediaVenue

Back to constructors index

Attributes:

Name Type Required
geo_point InputGeoPoint Yes
title string Yes
address string Yes
provider string Yes
venue_id string Yes

Type: InputMedia

Example:

$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string'];

PWRTelegram json-encoded version:

{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"}

Or, if you're into Lua:

inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'}