Add MaxConnections to WebhookInfo

This commit is contained in:
Jiayu Yi 2020-01-13 15:42:35 +08:00
parent aa124ef1e8
commit 69bab9a28f
2 changed files with 4 additions and 0 deletions

View file

@ -571,6 +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"`
}
// IsSet returns true if a webhook is currently set.