Mark WebhookInfo.MaxConnections as optional

bot-api-6.1
Jiayu Yi 2020-07-21 16:33:33 +08:00
parent 69bab9a28f
commit 64517d16e7
1 changed files with 1 additions and 1 deletions

View File

@ -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.