Typo fix
This commit is contained in:
parent
6873dde3ab
commit
399d665b0a
1 changed files with 1 additions and 1 deletions
2
bot.go
2
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue