test User:IsBot
Zaur Abdulgalimov abdulgalimov@gmail.com
Thu, 09 Nov 2017 19:46:11 +0300
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
types_test.go
→
types_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()