diff --git a/models/tbot.go b/models/tbot.go index 4c77c0d..21c4e0d 100644 --- a/models/tbot.go +++ b/models/tbot.go @@ -70,7 +70,7 @@ func SendTgMsg(uid int, msg string) { b.Send(&tb.User{ID: uid}, msg) } -func SendTggMsg(uid int, gid int, msg string) { +func SendTggMsg(gid int, uid int, msg string) { if b == nil || uid == 0 { return }