all repos — telegram-bot-api @ 5dbfec17f3f32cc28060221a35a9af6d93739b8a

Golang bindings for the Telegram Bot API

test User:IsBot
Zaur Abdulgalimov abdulgalimov@gmail.com
Thu, 09 Nov 2017 19:46:11 +0300
commit

5dbfec17f3f32cc28060221a35a9af6d93739b8a

parent

bd1aa7e6ef60fd302ed84e1990fb4dbb791f73af

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

jump to
M types_test.gotypes_test.go

@@ -8,7 +8,7 @@ "github.com/go-telegram-bot-api/telegram-bot-api"

) func TestUserStringWith(t *testing.T) { - user := tgbotapi.User{0, "Test", "Test", "", "en"} + user := tgbotapi.User{0, "Test", "Test", "", "en", false} if user.String() != "Test Test" { t.Fail()