Add initial support for sendMediaGroup.
This commit is contained in:
parent
7ff5871e28
commit
898e79fe47
5 changed files with 91 additions and 1 deletions
3
log.go
3
log.go
|
@ -1,13 +1,14 @@
|
|||
package tgbotapi
|
||||
|
||||
import (
|
||||
"os"
|
||||
"errors"
|
||||
stdlog "log"
|
||||
"os"
|
||||
)
|
||||
|
||||
var log = stdlog.New(os.Stderr, "", stdlog.LstdFlags)
|
||||
|
||||
// SetLogger specifies the logger that the package should use.
|
||||
func SetLogger(newLog *stdlog.Logger) error {
|
||||
if newLog == nil {
|
||||
return errors.New("logger is nil")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue