all repos — telegram-bot-api @ c87d4110af3c1d054f4abfa9460efc8eec9a50a1

Golang bindings for the Telegram Bot API

Mark WebhookInfo.MaxConnections as optional

(cherry picked from commit 64517d16e7c54529952c535c22764e8cbbfd939c)
Jiayu Yi yijiayu@gmail.com
Tue, 21 Jul 2020 16:33:33 +0800
commit

c87d4110af3c1d054f4abfa9460efc8eec9a50a1

parent

ca09b25f8c79e3f045e121dd85bc7b79175f5f7e

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M types.gotypes.go

@@ -689,7 +689,7 @@ HasCustomCertificate bool `json:"has_custom_certificate"`

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.