MadelineProtoDocs/old_docs/API_docs_v86/constructors/messageMediaVenue.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.3 KiB

title description image
messageMediaVenue Message media venue https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageMediaVenue

Back to constructors index

Message media venue

Attributes:

Name Type Required Description
geo GeoPoint Optional Geo
title string Yes Title
address string Yes Address
provider string Yes Provider
venue_id string Yes Venue ID
venue_type string Yes Venue type

Type: MessageMedia

Example:

$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string'];

PWRTelegram json-encoded version:

{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "venue_type": "string"}

Or, if you're into Lua:

messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'}