Skip to content

Commit 2e3cb3f

Browse files
committed
fix: remove trailing comma in AnswerCallbackQueryConfig JSON tag
1 parent a3e4b9b commit 2e3cb3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tgbotapi/configs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ type FileReader struct {
938938

939939
// AnswerCallbackQueryConfig contains information on making a CallbackQuery response.
940940
type AnswerCallbackQueryConfig struct {
941-
CallbackQueryID string `json:"callback_query_id,"`
941+
CallbackQueryID string `json:"callback_query_id"`
942942
Text string `json:"text,omitempty"`
943943
ShowAlert bool `json:"show_alert,omitempty"`
944944
URL string `json:"url,omitempty"`

0 commit comments

Comments
 (0)