From dffc002f9e2338af6f66ecd72df5db722c9e285d Mon Sep 17 00:00:00 2001 From: pr0head Date: Tue, 17 Oct 2017 19:00:20 +0300 Subject: [PATCH] Fix struct for InlineQueryResultLocation --- types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/types.go b/types.go index 91875bb..e59afbb 100644 --- a/types.go +++ b/types.go @@ -643,6 +643,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"`