Layer 220
InputBotInlineMessageMediaGeo
Geolocation
constructor
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;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| GeoPoint | InputGeoPoint | 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 | Reply markup for bot/inline keyboards |
Returns
InputBotInlineMessageGogram Example
// Creating InputBotInlineMessageMediaGeo constructor obj := &tg.InputBotInlineMessageMediaGeo{ GeoPoint: &tg.InputGeoPoint{Lat: 0.0, Long: 0.0}, // Optional fields: // Heading: 0, // Period: 0, // ProximityNotificationRadius: 0, // ReplyMarkup: &tg.ReplyKeyboardMarkup{Rows: []tg.KeyboardButtonRow{}}, }