InputBotInlineMessageMediaGeo
- class pyrogram.raw.types.InputBotInlineMessageMediaGeo
Geolocation
Constructor of
InputBotInlineMessage.- Details:
Layer:
223ID:
96929A85
- Parameters:
geo_point (
InputGeoPoint) – Geolocationheading (
int32-bit, optional) – For live locations, a direction in which the location moves, in degrees; 1-360period (
int32-bit, optional) – Validity periodproximity_notification_radius (
int32-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_point →
InputGeoPoint│ ├──
InputGeoPointEmpty│ └──
InputGeoPoint│ ├── lat →
double│ ├── long →
double│ └── accuracy_radius →
int (optional)├── heading →
int (optional)├── period →
int (optional)├── proximity_notification_radius →
int (optional)└── 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
InputBotInlineMessageMediaGeo(
geo_point=InputGeoPointEmpty(),
)