From 8e95ff936cd82bf8fb6bb1ea1ee5866402fb7568 Mon Sep 17 00:00:00 2001 From: Hamed Ghasemzadeh Date: Sun, 4 Dec 2016 13:35:54 +0330 Subject: [PATCH] menu is valid for share search can return menu --- types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types.go b/types.go index cadb94e..f3fc8aa 100644 --- a/types.go +++ b/types.go @@ -597,8 +597,8 @@ type ChosenInlineResult struct { // as an inline query result. type InputTextMessageContent struct { Text string `json:"message_text"` - ParseMode string `json:"parse_mode"` - DisableWebPagePreview bool `json:"disable_web_page_preview"` + ParseMode string `json:"parse_mode,omitempty"` + DisableWebPagePreview bool `json:"disable_web_page_preview,omitempty"` } // InputLocationMessageContent contains a location for displaying