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 {