From 64517d16e7c54529952c535c22764e8cbbfd939c Mon Sep 17 00:00:00 2001 From: Jiayu Yi Date: Tue, 21 Jul 2020 16:33:33 +0800 Subject: [PATCH] Mark WebhookInfo.MaxConnections as optional --- types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go b/types.go index b673dc6..4ca2fe9 100644 --- a/types.go +++ b/types.go @@ -571,7 +571,7 @@ type WebhookInfo struct { PendingUpdateCount int `json:"pending_update_count"` LastErrorDate int `json:"last_error_date"` // optional LastErrorMessage string `json:"last_error_message"` // optional - MaxConnections int `json:"max_connections"` + MaxConnections int `json:"max_connections"` // optional } // IsSet returns true if a webhook is currently set.