mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.5 KiB
1.5 KiB
title | description | nav_exclude | image |
---|---|---|---|
inputBotInlineMessageMediaGeo | Geolocation | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputBotInlineMessageMediaGeo
Geolocation
Attributes:
Name | Type | Required | Description |
---|---|---|---|
geo_point | InputGeoPoint | Optional | Geolocation |
heading | int | Optional | For live locations, a direction in which the location moves, in degrees; 1-360 |
period | int | Optional | Validity period |
proximity_notification_radius | int | 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 |
Type: InputBotInlineMessage
Usage of reply_markup
You can provide bot API reply_markup objects here.
Example:
$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'heading' => int, 'period' => int, 'proximity_notification_radius' => int, 'reply_markup' => ReplyMarkup];