This commit is contained in:
1-6
2023-07-22 07:38:55 +08:00
parent ae09010047
commit 91686cb362
29 changed files with 10158 additions and 390 deletions
+6 -1
View File
@@ -1,6 +1,11 @@
package common
import "time"
type Sender interface {
GetID() string
GetTime() time.Time
SetID()
GetUserID() string
GetChatID() string
GetBotID() string
@@ -51,7 +56,7 @@ type Sender interface {
SetLevel(int)
GetLevel() int
Event() map[string]interface{}
Action(map[string]interface{}) (interface{}, string)
Action(map[string]interface{}) (interface{}, error)
}
type FakerSenderParams struct {