Compare commits

...
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

2 Commits

Author SHA1 Message Date
Павлюченко Станислав d576cafba0 go mod 6 years ago
Syfaro 9860bdfd3a Fix capitalization in doc. 7 years ago
  1. 2
      bot_test.go
  2. 5
      go.mod
  3. 2
      go.sum
  4. 3
      helpers_test.go
  5. 2
      passport.go
  6. 2
      types_test.go

@ -8,7 +8,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-telegram-bot-api/telegram-bot-api" "git.tomans.ru/Tomansru/telegram-bot-api"
) )
const ( const (

@ -0,0 +1,5 @@
module git.tomans.ru/Tomansru/telegram-bot-api
go 1.13
require github.com/technoweenie/multipartstreamer v1.0.1

@ -0,0 +1,2 @@
github.com/technoweenie/multipartstreamer v1.0.1 h1:XRztA5MXiR1TIRHxH2uNxXxaIkKQDeX7m2XsSOlQEnM=
github.com/technoweenie/multipartstreamer v1.0.1/go.mod h1:jNVxdtShOxzAsukZwTSw6MDx5eUJoiEBsSvzDU9uzog=

@ -1,8 +1,9 @@
package tgbotapi_test package tgbotapi_test
import ( import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"testing" "testing"
"git.tomans.ru/Tomansru/telegram-bot-api"
) )
func TestNewInlineQueryResultArticle(t *testing.T) { func TestNewInlineQueryResultArticle(t *testing.T) {

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

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/go-telegram-bot-api/telegram-bot-api" "git.tomans.ru/Tomansru/telegram-bot-api"
) )
func TestUserStringWith(t *testing.T) { func TestUserStringWith(t *testing.T) {