allow passing a []byte or io.Reader to upload functions, closes #20
This commit is contained in:
parent
766f7494e9
commit
e48e6416e7
3 changed files with 144 additions and 49 deletions
4
bot.go
4
bot.go
|
@ -1,7 +1,9 @@
|
|||
// Package tgbotapi has bindings for interacting with the Telegram Bot API.
|
||||
package tgbotapi
|
||||
|
||||
import "net/http"
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// BotAPI has methods for interacting with all of Telegram's Bot API endpoints.
|
||||
type BotAPI struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue