InputMediaVenue
- class pyrogram.raw.types.InputMediaVenue
Can be used to send a venue geolocation.
Constructor of
InputMedia.- Details:
Layer:
223ID:
C13D1C11
- Parameters:
geo_point (
InputGeoPoint) – Geolocationtitle (
str) – Venue nameaddress (
str) – Physical address of the venueprovider (
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
TL Schema
inputMediaVenue#c13d1c11
geo_point:InputGeoPoint
title:string
address:string
provider:string
venue_id:string
venue_type:string
= InputMedia
Parameter Tree
InputMediaVenue
├── geo_point →
InputGeoPoint│ ├──
InputGeoPointEmpty│ └──
InputGeoPoint│ ├── lat →
double│ ├── long →
double│ └── accuracy_radius →
int (optional)├── title →
string├── address →
string├── provider →
string├── venue_id →
string└── venue_type →
stringExample
InputMediaVenue(
geo_point=InputGeoPointEmpty(),
title="text",
address="text",
provider="text",
venue_id="text",
venue_type="text",
)