Fix broken inline queries.

This commit is contained in:
Syfaro 2016-01-17 23:34:12 -06:00
parent baf170548c
commit 67ab387694
3 changed files with 17 additions and 16 deletions

View file

@ -510,9 +510,9 @@ type FileReader struct {
// InlineConfig contains information on making an InlineQuery response.
type InlineConfig struct {
InlineQueryID string `json:"inline_query_id"`
Results []InlineQueryResult `json:"results"`
CacheTime int `json:"cache_time"`
IsPersonal bool `json:"is_personal"`
NextOffset string `json:"next_offset"`
InlineQueryID string `json:"inline_query_id"`
Results []interface{} `json:"results"`
CacheTime int `json:"cache_time"`
IsPersonal bool `json:"is_personal"`
NextOffset string `json:"next_offset"`
}