BotInlineMessageMediaVenue
- class pyrogram.raw.types.BotInlineMessageMediaVenue
Send a venue
Constructor of
BotInlineMessage.- Details:
Layer:
223ID:
8A86659C
- 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 databasereply_markup (
ReplyMarkup, optional) – Inline keyboard
TL Schema
botInlineMessageMediaVenue#8a86659c
flags:#
geo:GeoPoint
title:string
address:string
provider:string
venue_id:string
venue_type:string
reply_markup:flags.2?ReplyMarkup
= BotInlineMessage
Parameter Tree
BotInlineMessageMediaVenue
├── 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 →
string└── reply_markup →
ReplyMarkup (optional)│ └── selective →
true (optional)│ ├── single_use →
true (optional)│ ├── selective →
true (optional)│ └── placeholder →
string (optional)│ ├── resize →
true (optional)│ ├── single_use →
true (optional)│ ├── selective →
true (optional)│ ├── persistent →
true (optional)│ ├── rows →
Vector < KeyboardButtonRow >│ │ └──
KeyboardButtonRow│ │ └── buttons →
Vector < KeyboardButton >│ │ ├──
KeyboardButton│ │ ├──
KeyboardButtonUrl│ │ ├──
KeyboardButtonCallback│ │ ├──
KeyboardButtonRequestPhone│ │ ├──
KeyboardButtonRequestGeoLocation│ │ ├──
KeyboardButtonSwitchInline│ │ ├──
KeyboardButtonGame│ │ ├──
KeyboardButtonBuy│ │ ├──
KeyboardButtonUrlAuth│ │ ├──
InputKeyboardButtonUrlAuth│ │ ├──
KeyboardButtonRequestPoll│ │ ├──
InputKeyboardButtonUserProfile│ │ ├──
KeyboardButtonUserProfile│ │ ├──
KeyboardButtonWebView│ │ ├──
KeyboardButtonSimpleWebView│ │ ├──
KeyboardButtonRequestPeer│ │ ├──
InputKeyboardButtonRequestPeer│ │ └──
KeyboardButtonCopy│ └── placeholder →
string (optional)└── rows →
Vector < KeyboardButtonRow >└── buttons →
Vector < KeyboardButton >├──
KeyboardButtonExample
BotInlineMessageMediaVenue(
geo=GeoPointEmpty(),
title="text",
address="text",
provider="text",
venue_id="text",
venue_type="text",
)