Skip to content

Commit

Permalink
Mark WebhookInfo.MaxConnections as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
yi-jiayu committed Jul 21, 2020
1 parent 69bab9a commit 64517d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 64517d1

Please sign in to comment.