From 399d665b0a47ab14b54f54c2063e55a1258439af Mon Sep 17 00:00:00 2001 From: Gleb Sinyavsky Date: Sat, 21 Nov 2015 16:28:25 +0300 Subject: [PATCH] Typo fix --- bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.go b/bot.go index fb46136..0789082 100644 --- a/bot.go +++ b/bot.go @@ -169,7 +169,7 @@ func (bot *BotAPI) UploadFile(endpoint string, params map[string]string, fieldna return apiResp, nil } -func (this *BotAPI) getFileDirectUrl(fileID string) (string, error) { +func (this *BotAPI) GetFileDirectUrl(fileID string) (string, error) { file, err := this.GetFile(FileConfig{fileID}) if err != nil {