From 25ef323a6b7520dae3a7901a8603fafcf6ac3f47 Mon Sep 17 00:00:00 2001 From: Emanuele Rocco Petrone Date: Sat, 28 Apr 2018 00:31:17 +0200 Subject: [PATCH] Parse sticker pack name --- types.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types.go b/types.go index 4a58287..e64132f 100644 --- a/types.go +++ b/types.go @@ -290,6 +290,7 @@ type Sticker struct { Thumbnail *PhotoSize `json:"thumb"` // optional Emoji string `json:"emoji"` // optional FileSize int `json:"file_size"` // optional + SetName string `json:"set_name"` // optional } // Video contains information about a video. @@ -410,7 +411,7 @@ type InlineKeyboardButton struct { SwitchInlineQuery *string `json:"switch_inline_query,omitempty"` // optional SwitchInlineQueryCurrentChat *string `json:"switch_inline_query_current_chat,omitempty"` // optional CallbackGame *CallbackGame `json:"callback_game,omitempty"` // optional - Pay bool `json:"pay,omitempty"` // optional + Pay bool `json:"pay,omitempty"` // optional } // CallbackQuery is data sent when a keyboard button with callback data