mirror of
https://github.com/awfufu/qbot.git
synced 2026-03-01 13:29:43 +08:00
init: first commit
This commit is contained in:
10
api/set_group_anonymous.go
Normal file
10
api/set_group_anonymous.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package api
|
||||
|
||||
func SetGroupAnonymous(c Client, groupID uint64, enable bool) error {
|
||||
params := map[string]any{
|
||||
"group_id": groupID,
|
||||
"enable": enable,
|
||||
}
|
||||
_, err := c.Send("set_group_anonymous", params)
|
||||
return err
|
||||
}
|
||||
Reference in New Issue
Block a user