MessageMediaVenue
- class pyrogram.raw.types.MessageMediaVenue
Venue
Constructor of
MessageMedia.- Details:
Layer:
223ID:
2EC0533F
- Parameters:
geo (
GeoPoint) – Geolocation of venuetitle (
str) – Venue nameaddress (
str) – Addressprovider (
str) – Venue provider: currently only “foursquare” and “gplaces” (Google Places) need to be supportedvenue_id (
str) – Venue ID in the provider’s databasevenue_type (
str) – Venue type in the provider’s database
- Functions:
This object can be returned by 2 functions.
Upload a file and associate it to a chat (without actually sending it to the chat)
Upload a media file associated with an imported chat, click here for more info ».
TL Schema
messageMediaVenue#2ec0533f
geo:GeoPoint
title:string
address:string
provider:string
venue_id:string
venue_type:string
= MessageMedia
Parameter Tree
MessageMediaVenue
├── geo →
GeoPoint│ ├──
GeoPointEmpty│ └──
GeoPoint│ ├── long →
double│ ├── lat →
double│ ├── access_hash →
long│ └── accuracy_radius →
int (optional)├── title →
string├── address →
string├── provider →
string├── venue_id →
string└── venue_type →
stringExample
MessageMediaVenue(
geo=GeoPointEmpty(),
title="text",
address="text",
provider="text",
venue_id="text",
venue_type="text",
)