From bcfc5c2d642a8f4cfdcd705165bb226b575c0fe8 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Tue, 9 Jun 2020 16:12:08 +0200 Subject: [PATCH] Fix typo on callback query structure --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index aa2b06c..a7afe6c 100644 --- a/api.go +++ b/api.go @@ -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"`