From b0c8029a0fd78a97095333c987bcba604051f522 Mon Sep 17 00:00:00 2001 From: Syfaro Date: Tue, 28 Jul 2015 12:18:50 -0400 Subject: [PATCH] fix wrong capitalization of a function name --- bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.go b/bot.go index 89a456a..ef8c00f 100644 --- a/bot.go +++ b/bot.go @@ -15,7 +15,7 @@ type BotAPI struct { // NewBotAPI creates a new BotAPI instance. // Requires a token, provided by @BotFather on Telegram func NewBotAPI(token string) (*BotAPI, error) { - return NewBotAPIwithClient(token, &http.Client{}) + return NewBotAPIWithClient(token, &http.Client{}) } // NewBotAPIWithClient creates a new BotAPI instance passing an http.Client.