mirror of
https://github.com/fumiama/NanoBot.git
synced 2026-06-10 05:00:24 +08:00
fix delete
This commit is contained in:
@@ -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 的在线成员数
|
||||
|
||||
Reference in New Issue
Block a user