From ecec8947433a7ae286acf1be90eb1c2252674050 Mon Sep 17 00:00:00 2001 From: Sergey Date: Thu, 22 Aug 2019 10:39:25 +0300 Subject: [PATCH] Add LoginUrl for InlineKeyboardButton --- types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go b/types.go index bd3f451..592e0ae 100644 --- a/types.go +++ b/types.go @@ -486,7 +486,7 @@ type LoginUrl struct { URL string `json:"url"` ForwardText *string `json:"forward_text,omitempty"` BotUsername *string `json:"bot_username,omitempty"` - RequestWriteAccess *bool `json:"request_write_access,omitempty"` + RequestWriteAccess bool `json:"request_write_access,omitempty"` } // CallbackQuery is data sent when a keyboard button with callback data