fix wrong capitalization of a function name
This commit is contained in:
parent
dc198e2346
commit
b0c8029a0f
1 changed files with 1 additions and 1 deletions
2
bot.go
2
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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue