Fix broken inline queries.
This commit is contained in:
parent
baf170548c
commit
67ab387694
3 changed files with 17 additions and 16 deletions
10
configs.go
10
configs.go
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue