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