Files
chatlog_alpha/internal/chatlog/conf/webhook.go
lx1056758714-glitch 3d04a7f3eb 同步本地代码
2025-12-13 17:30:38 +08:00

17 lines
454 B
Go

package conf
type Webhook struct {
Host string `mapstructure:"host"`
DelayMs int64 `mapstructure:"delay_ms"`
Items []*WebhookItem `mapstructure:"items"`
}
type WebhookItem struct {
Type string `mapstructure:"type"`
URL string `mapstructure:"url"`
Talker string `mapstructure:"talker"`
Sender string `mapstructure:"sender"`
Keyword string `mapstructure:"keyword"`
Disabled bool `mapstructure:"disabled"`
}