Merge pull request #299 from yi-jiayu/webhook-info-max-connections
Add MaxConnections to WebhookInfo
This commit is contained in:
commit
7a018ae873
2 changed files with 4 additions and 0 deletions
1
types.go
1
types.go
|
@ -584,6 +584,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"` // optional
|
||||
}
|
||||
|
||||
// IsSet returns true if a webhook is currently set.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue