Layer 227
BotInlineMessageMediaGeo
Send a geolocation
constructor
botInlineMessageMediaGeo#51846fd flags:# geo:GeoPoint heading:flags.0?int period:flags.1?int proximity_notification_radius:flags.3?int reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
Parameters
| Name | Type | Description |
|---|---|---|
| Geo | GeoPoint | Geolocation |
| Heading | flags .0? int | For live locations, a direction in which the location moves, in degrees; 1-360. |
| Period | flags .1? int | Validity period |
| ProximityNotificationRadius | flags .3? int | For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000). |
| ReplyMarkup | flags .2? ReplyMarkup | Inline keyboard |
Returns
BotInlineMessageGogram Example
// Creating BotInlineMessageMediaGeo constructor obj := &tg.BotInlineMessageMediaGeo{ Geo: &tg.GeoPoint{}, Heading: nil, Period: nil, ProximityNotificationRadius: nil, ReplyMarkup: nil, }