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 GetCsrfToken(c Client) (int32, error) {
data, err := c.Send("get_csrf_token", nil)
data, err := c.SendParams("get_csrf_token", nil)
if err != nil {
return 0, err
}