all repos — telegram-bot-api @ 9d2d117c0ec8b76efc8fc65a9344ce2c555c5ee8

Golang bindings for the Telegram Bot API

Merge branch 'master' into develop
Syfaro syfaro@huefox.com
Mon, 08 Oct 2018 14:00:38 -0500
commit

9d2d117c0ec8b76efc8fc65a9344ce2c555c5ee8

parent

23ed97b145bdc331428d0e094fdc973627293a89

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

jump to
M bot.gobot.go

@@ -411,7 +411,10 @@ continue

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

@@ -307,7 +307,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"`