Mark WebhookInfo.MaxConnections as optional
(cherry picked from commit 64517d16e7
)
This commit is contained in:
parent
ca09b25f8c
commit
c87d4110af
1 changed files with 1 additions and 1 deletions
2
types.go
2
types.go
|
@ -689,7 +689,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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue