feat: Adapted to Napcat message sending interface

This commit is contained in:
2025-12-05 11:31:14 +08:00
parent 89308851ae
commit e4b968f919
83 changed files with 673 additions and 281 deletions

View File

@@ -3,7 +3,7 @@ package api
import "encoding/json"
func GetVersionInfo(c Client) (*VersionInfo, error) {
data, err := c.Send("get_version_info", nil)
data, err := c.SendParams("get_version_info", nil)
if err != nil {
return nil, err
}