1
0
mirror of https://github.com/fumiama/NanoBot.git synced 2026-06-10 05:00:24 +08:00

fix delete

This commit is contained in:
源文雨
2023-10-10 23:25:48 +09:00
parent e8fd4c0c54
commit 5ec622d77f
6 changed files with 110 additions and 7 deletions

View File

@@ -120,7 +120,7 @@ func (bot *Bot) PatchChannel(id string, config *ChannelPatch) (*Channel, error)
//
// https://bot.q.qq.com/wiki/develop/api/openapi/channel/delete_channel.html
func (bot *Bot) DeleteChannel(id string) error {
return bot.DeleteOpenAPI("/channels/" + id)
return bot.DeleteOpenAPI("/channels/"+id, nil)
}
// GetOnlineNumsInChannel 查询音视频/直播子频道 channel_id 的在线成员数