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_name.go
Normal file
10
api/set_group_name.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package api
|
||||
|
||||
func SetGroupName(c Client, groupID uint64, groupName string) error {
|
||||
params := map[string]any{
|
||||
"group_id": groupID,
|
||||
"group_name": groupName,
|
||||
}
|
||||
_, err := c.Send("set_group_name", params)
|
||||
return err
|
||||
}
|
||||
Reference in New Issue
Block a user