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,5 +3,5 @@ package api
import "encoding/json"
type Client interface {
Send(action string, params map[string]any) (json.RawMessage, error)
SendParams(action string, params map[string]any) (json.RawMessage, error)
}