InputBotInlineMessageMediaVenue

class pyrogram.raw.types.InputBotInlineMessageMediaVenue

Venue

Constructor of InputBotInlineMessage.

Details:
  • Layer: 223

  • ID: 417BBF11

Parameters:
  • geo_point (InputGeoPoint) – Geolocation

  • title (str) – Venue name

  • address (str) – Address

  • provider (str) – Venue provider: currently only “foursquare” and “gplaces” (Google Places) need to be supported

  • venue_id (str) – Venue ID in the provider’s database

  • venue_type (str) – Venue type in the provider’s database

  • reply_markup (ReplyMarkup, optional) – Inline keyboard

TL Schema

inputBotInlineMessageMediaVenue#417bbf11
flags:#
geo_point:InputGeoPoint
title:string
address:string
provider:string
venue_id:string
venue_type:string
reply_markup:flags.2?ReplyMarkup

= InputBotInlineMessage

Parameter Tree

InputBotInlineMessageMediaVenue
├── geo_pointInputGeoPoint
│ ├── InputGeoPointEmpty
│ └── InputGeoPoint
│ ├── latdouble
│ ├── longdouble
│ └── accuracy_radiusint (optional)
├── titlestring
├── addressstring
├── providerstring
├── venue_idstring
├── venue_typestring
└── reply_markupReplyMarkup (optional)
│ └── selectivetrue (optional)
│ ├── single_usetrue (optional)
│ ├── selectivetrue (optional)
│ └── placeholderstring (optional)
│ ├── resizetrue (optional)
│ ├── single_usetrue (optional)
│ ├── selectivetrue (optional)
│ ├── persistenttrue (optional)
│ ├── rowsVector < KeyboardButtonRow >
│ │ └── KeyboardButtonRow
│ │ └── buttonsVector < KeyboardButton >
│ │ ├── KeyboardButton
│ │ ├── KeyboardButtonUrl
│ │ ├── KeyboardButtonCallback
│ │ ├── KeyboardButtonRequestPhone
│ │ ├── KeyboardButtonSwitchInline
│ │ ├── KeyboardButtonGame
│ │ ├── KeyboardButtonBuy
│ │ ├── KeyboardButtonUrlAuth
│ │ ├── InputKeyboardButtonUrlAuth
│ │ ├── KeyboardButtonRequestPoll
│ │ ├── KeyboardButtonUserProfile
│ │ ├── KeyboardButtonWebView
│ │ ├── KeyboardButtonSimpleWebView
│ │ ├── KeyboardButtonRequestPeer
│ │ └── KeyboardButtonCopy
│ └── placeholderstring (optional)

Example

InputBotInlineMessageMediaVenue(
    geo_point=InputGeoPointEmpty(),
    title="text",
    address="text",
    provider="text",
    venue_id="text",
    venue_type="text",
)