all repos — telegram-bot-api @ 5f38203a155afa901c7deb70596a088a8424a9ee

Golang bindings for the Telegram Bot API

Remove a broken check for GetUpdatesChan.
Syfaro syfaro@huefox.com
Mon, 08 Oct 2018 01:58:33 -0500
commit

5f38203a155afa901c7deb70596a088a8424a9ee

parent

9105c34c59802cba482ee90cae261218971f634c

2 files changed, 2 insertions(+), 5 deletions(-)

jump to
M bot.gobot.go

@@ -493,10 +493,7 @@ continue

} for _, update := range updates { - if update.UpdateID >= config.Offset { - config.Offset = update.UpdateID + 1 - ch <- update - } + ch <- update } } }()
M passport.gopassport.go

@@ -291,7 +291,7 @@ LastNameNative string `json:"last_name_native"`

MiddleNameNative string `json:"middle_name_native"` } - // IdDocumentData https://core.telegram.org/passport#iddocumentdata + // IDDocumentData https://core.telegram.org/passport#iddocumentdata IDDocumentData struct { DocumentNumber string `json:"document_no"` ExpiryDate string `json:"expiry_date"`