We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a5153b commit d4c31f7Copy full SHA for d4c31f7
telebot/utils/telebot.go
@@ -2,6 +2,8 @@ package utils
2
3
import (
4
"errors"
5
+ "fmt"
6
+ "github.com/3JoB/ulib/reflect"
7
"time"
8
9
tele "github.com/3JoB/telebot"
@@ -182,6 +184,8 @@ func (n *use) GetAdminList() (map[int64]int, error) {
182
184
return nil, nil
183
185
}
186
187
+ fmt.Println(reflect.String(d))
188
+
189
json.UnmarshalString(gjson.GetBytes(d, "result").String(), &b)
190
if len(b) == 0 {
191
return nil, errors.New("ulib.telebot: failed to fetch admin list,please check what happened")
0 commit comments