diff --git a/configs.go b/configs.go index d2b22d9..87e1633 100644 --- a/configs.go +++ b/configs.go @@ -1274,7 +1274,6 @@ func (config DeleteWebhookConfig) params() (Params, error) { // InlineQueryResultsButton represents a button to be shown above inline query results. You must use exactly one of the optional fields. type InlineQueryResultsButton struct { //Label text on the button - // Text string `json:"text"` //Description of the Web App that will be launched when the user presses the button. The Web App will be able to switch back to the inline mode using the method switchInlineQuery inside the Web App. // diff --git a/types.go b/types.go index c97b176..7cf3b06 100644 --- a/types.go +++ b/types.go @@ -1356,7 +1356,7 @@ type WriteAccessAllowed struct { //Name of the Web App which was launched from a link // // Optional - WebAppName string `json:"web_app_name"` + WebAppName string `json:"web_app_name,omitempty"` } // VideoChatScheduled represents a service message about a voice chat scheduled