Mark WebhookInfo.MaxConnections as optional

(cherry picked from commit 64517d16e7)
bot-api-6.1
Jiayu Yi 2020-07-21 16:33:33 +08:00 committed by Syfaro
parent ca09b25f8c
commit c87d4110af
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ type WebhookInfo struct {
PendingUpdateCount int `json:"pending_update_count"` PendingUpdateCount int `json:"pending_update_count"`
LastErrorDate int `json:"last_error_date"` // optional LastErrorDate int `json:"last_error_date"` // optional
LastErrorMessage string `json:"last_error_message"` // 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. // IsSet returns true if a webhook is currently set.