|
|
@ -333,7 +333,6 @@ type Contact struct { |
|
|
|
type Location struct { |
|
|
|
type Location struct { |
|
|
|
Longitude float64 `json:"longitude"` |
|
|
|
Longitude float64 `json:"longitude"` |
|
|
|
Latitude float64 `json:"latitude"` |
|
|
|
Latitude float64 `json:"latitude"` |
|
|
|
LivePeriod int `json:"live_period"` |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Venue contains information about a venue, including its Location.
|
|
|
|
// Venue contains information about a venue, including its Location.
|
|
|
@ -644,7 +643,6 @@ type InlineQueryResultLocation struct { |
|
|
|
ID string `json:"id"` // required
|
|
|
|
ID string `json:"id"` // required
|
|
|
|
Latitude float64 `json:"latitude"` // required
|
|
|
|
Latitude float64 `json:"latitude"` // required
|
|
|
|
Longitude float64 `json:"longitude"` // required
|
|
|
|
Longitude float64 `json:"longitude"` // required
|
|
|
|
LivePeriod int `json:"live_period"` // optional
|
|
|
|
|
|
|
|
Title string `json:"title"` // required
|
|
|
|
Title string `json:"title"` // required
|
|
|
|
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"` |
|
|
|
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"` |
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
@ -683,7 +681,6 @@ type InputTextMessageContent struct { |
|
|
|
type InputLocationMessageContent struct { |
|
|
|
type InputLocationMessageContent struct { |
|
|
|
Latitude float64 `json:"latitude"` |
|
|
|
Latitude float64 `json:"latitude"` |
|
|
|
Longitude float64 `json:"longitude"` |
|
|
|
Longitude float64 `json:"longitude"` |
|
|
|
LivePeriod int `json:"live_period"` |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// InputVenueMessageContent contains a venue for displaying
|
|
|
|
// InputVenueMessageContent contains a venue for displaying
|
|
|
|