InputBotInlineMessageMediaGeo

class pyrogram.raw.types.InputBotInlineMessageMediaGeo

Geolocation

Constructor of InputBotInlineMessage.

Details:
  • Layer: 223

  • ID: 96929A85

Parameters:
  • geo_point (InputGeoPoint) – Geolocation

  • heading (int 32-bit, optional) – For live locations, a direction in which the location moves, in degrees; 1-360

  • period (int 32-bit, optional) – Validity period

  • proximity_notification_radius (int 32-bit, optional) – For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000)

  • reply_markup (ReplyMarkup, optional) – Reply markup for bot/inline keyboards

TL Schema

inputBotInlineMessageMediaGeo#96929a85
flags:#
geo_point:InputGeoPoint
heading:flags.0?int
period:flags.1?int
proximity_notification_radius:flags.3?int
reply_markup:flags.2?ReplyMarkup

= InputBotInlineMessage

Parameter Tree

InputBotInlineMessageMediaGeo
├── geo_pointInputGeoPoint
│ ├── InputGeoPointEmpty
│ └── InputGeoPoint
│ ├── latdouble
│ ├── longdouble
│ └── accuracy_radiusint (optional)
├── headingint (optional)
├── periodint (optional)
├── proximity_notification_radiusint (optional)
└── 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

InputBotInlineMessageMediaGeo(
    geo_point=InputGeoPointEmpty(),
)