Fix typo on callback query structure

This commit is contained in:
Hamcha 2020-06-09 16:12:08 +02:00
parent 27464fcee7
commit bcfc5c2d64
Signed by: hamcha
GPG Key ID: 41467804B19A3315
1 changed files with 1 additions and 1 deletions

2
api.go
View File

@ -227,7 +227,7 @@ type APIInputMediaPhoto struct {
// APICallbackQuery is a callback query triggered by an inline button
type APICallbackQuery struct {
ID string `json:"id"`
User APIAudio `json:"from"`
User APIUser `json:"from"`
Message *APIMessage `json:"message,omitempty"`
InlineID *string `json:"inline_message_id,omitempty"`
ChatID string `json:"chat_instance"`