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