feat: add msgDBSave webhook when data save to DB. (#3578)

* feat: add msgDBSave webhook when data save to DB.

* update callback args condition.

* remove unused contents.
This commit is contained in:
Monet Lee
2025-11-04 12:18:06 +08:00
committed by GitHub
parent 7d6682ca4b
commit b36f00f2ad
8 changed files with 68 additions and 70 deletions
+1
View File
@@ -436,6 +436,7 @@ type Webhooks struct {
BeforeSendGroupMsg BeforeConfig `yaml:"beforeSendGroupMsg"`
BeforeMsgModify BeforeConfig `yaml:"beforeMsgModify"`
AfterSendGroupMsg AfterConfig `yaml:"afterSendGroupMsg"`
AfterMsgSaveDB AfterConfig `yaml:"afterMsgSaveDB"`
AfterUserOnline AfterConfig `yaml:"afterUserOnline"`
AfterUserOffline AfterConfig `yaml:"afterUserOffline"`
AfterUserKickOff AfterConfig `yaml:"afterUserKickOff"`