Adjust configuration settings

This commit is contained in:
skiffer-git 2024-04-03 18:02:39 +08:00
parent 5a5f2c48e7
commit c6a3cb5c9c
2 changed files with 97 additions and 363 deletions

View File

@ -47,7 +47,7 @@ onlinePush:
enable: false enable: false
timeout: 5 timeout: 5
failedContinue: true failedContinue: true
superGroupOnlinePush: groupOnlinePush:
enable: false enable: false
timeout: 5 timeout: 5
failedContinue: true failedContinue: true

View File

@ -84,355 +84,53 @@ type CronTask struct {
MsgDestructTime string `mapstructure:"msgDestructTime"` MsgDestructTime string `mapstructure:"msgDestructTime"`
RetainChatRecords int `mapstructure:"retainChatRecords"` RetainChatRecords int `mapstructure:"retainChatRecords"`
} }
type OfflinePushConfig struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
}
type NotificationConfig struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush OfflinePushConfig `mapstructure:"offlinePush"`
}
type Notification struct { type Notification struct {
GroupCreated struct { GroupCreated NotificationConfig `mapstructure:"groupCreated"`
IsSendMsg bool `mapstructure:"isSendMsg"` GroupInfoSet NotificationConfig `mapstructure:"groupInfoSet"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"` JoinGroupApplication NotificationConfig `mapstructure:"joinGroupApplication"`
UnreadCount bool `mapstructure:"unreadCount"` MemberQuit NotificationConfig `mapstructure:"memberQuit"`
OfflinePush struct { GroupApplicationAccepted NotificationConfig `mapstructure:"groupApplicationAccepted"`
Enable bool `mapstructure:"enable"` GroupApplicationRejected NotificationConfig `mapstructure:"groupApplicationRejected"`
Title string `mapstructure:"title"` GroupOwnerTransferred NotificationConfig `mapstructure:"groupOwnerTransferred"`
Desc string `mapstructure:"desc"` MemberKicked NotificationConfig `mapstructure:"memberKicked"`
Ext string `mapstructure:"ext"` MemberInvited NotificationConfig `mapstructure:"memberInvited"`
} `mapstructure:"offlinePush"` MemberEnter NotificationConfig `mapstructure:"memberEnter"`
} `mapstructure:"groupCreated"` GroupDismissed NotificationConfig `mapstructure:"groupDismissed"`
GroupInfoSet struct { GroupMuted NotificationConfig `mapstructure:"groupMuted"`
IsSendMsg bool `mapstructure:"isSendMsg"` GroupCancelMuted NotificationConfig `mapstructure:"groupCancelMuted"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"` GroupMemberMuted NotificationConfig `mapstructure:"groupMemberMuted"`
UnreadCount bool `mapstructure:"unreadCount"` GroupMemberCancelMuted NotificationConfig `mapstructure:"groupMemberCancelMuted"`
OfflinePush struct { GroupMemberInfoSet NotificationConfig `mapstructure:"groupMemberInfoSet"`
Enable bool `mapstructure:"enable"` GroupInfoSetAnnouncement NotificationConfig `mapstructure:"groupInfoSetAnnouncement"`
Title string `mapstructure:"title"` GroupInfoSetName NotificationConfig `mapstructure:"groupInfoSetName"`
Desc string `mapstructure:"desc"` FriendApplicationAdded NotificationConfig `mapstructure:"friendApplicationAdded"`
Ext string `mapstructure:"ext"` FriendApplicationApproved NotificationConfig `mapstructure:"friendApplicationApproved"`
} `mapstructure:"offlinePush"` FriendApplicationRejected NotificationConfig `mapstructure:"friendApplicationRejected"`
} `mapstructure:"groupInfoSet"` FriendAdded NotificationConfig `mapstructure:"friendAdded"`
JoinGroupApplication struct { FriendDeleted NotificationConfig `mapstructure:"friendDeleted"`
IsSendMsg bool `mapstructure:"isSendMsg"` FriendRemarkSet NotificationConfig `mapstructure:"friendRemarkSet"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"` BlackAdded NotificationConfig `mapstructure:"blackAdded"`
UnreadCount bool `mapstructure:"unreadCount"` BlackDeleted NotificationConfig `mapstructure:"blackDeleted"`
OfflinePush struct { FriendInfoUpdated NotificationConfig `mapstructure:"friendInfoUpdated"`
Enable bool `mapstructure:"enable"` UserInfoUpdated NotificationConfig `mapstructure:"userInfoUpdated"`
Title string `mapstructure:"title"` UserStatusChanged NotificationConfig `mapstructure:"userStatusChanged"`
Desc string `mapstructure:"desc"` ConversationChanged NotificationConfig `mapstructure:"conversationChanged"`
Ext string `mapstructure:"ext"` ConversationSetPrivate NotificationConfig `mapstructure:"conversationSetPrivate"`
} `mapstructure:"offlinePush"`
} `mapstructure:"joinGroupApplication"`
MemberQuit struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"memberQuit"`
GroupApplicationAccepted struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"groupApplicationAccepted"`
GroupApplicationRejected struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"groupApplicationRejected"`
GroupOwnerTransferred struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"groupOwnerTransferred"`
MemberKicked struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"memberKicked"`
MemberInvited struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"memberInvited"`
MemberEnter struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"memberEnter"`
GroupDismissed struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"groupDismissed"`
GroupMuted struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"groupMuted"`
GroupCancelMuted struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
DefaultTips struct {
Tips string `mapstructure:"tips"`
} `mapstructure:"defaultTips"`
} `mapstructure:"
groupCancelMuted"`
GroupMemberMuted struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"groupMemberMuted"`
GroupMemberCancelMuted struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"groupMemberCancelMuted"`
GroupMemberInfoSet struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"groupMemberInfoSet"`
GroupInfoSetAnnouncement struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"groupInfoSetAnnouncement"`
GroupInfoSetName struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"groupInfoSetName"`
FriendApplicationAdded struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"friendApplicationAdded"`
FriendApplicationApproved struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"friendApplicationApproved"`
FriendApplicationRejected struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"friendApplicationRejected"`
FriendAdded struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"friendAdded"`
FriendDeleted struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"friendDeleted"`
FriendRemarkSet struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"friendRemarkSet"`
BlackAdded struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"blackAdded"`
BlackDeleted struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"blackDeleted"`
FriendInfoUpdated struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"re
liabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"friendInfoUpdated"`
UserInfoUpdated struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"userInfoUpdated"`
UserStatusChanged struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"userStatusChanged"`
ConversationChanged struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"conversationChanged"`
ConversationSetPrivate struct {
IsSendMsg bool `mapstructure:"isSendMsg"`
ReliabilityLevel int `mapstructure:"reliabilityLevel"`
UnreadCount bool `mapstructure:"unreadCount"`
OfflinePush struct {
Enable bool `mapstructure:"enable"`
Title string `mapstructure:"title"`
Desc string `mapstructure:"desc"`
Ext string `mapstructure:"ext"`
} `mapstructure:"offlinePush"`
} `mapstructure:"conversationSetPrivate"`
} }
type MsgGateway struct { type MsgGateway struct {
@ -633,7 +331,7 @@ type Redis struct {
MaxRetry int `mapstructure:"MaxRetry"` MaxRetry int `mapstructure:"MaxRetry"`
} }
type Hook struct { type WebhookConfig struct {
Enable bool `mapstructure:"enable"` Enable bool `mapstructure:"enable"`
Timeout int `mapstructure:"timeout"` Timeout int `mapstructure:"timeout"`
FailedContinue bool `mapstructure:"failedContinue"` FailedContinue bool `mapstructure:"failedContinue"`
@ -641,18 +339,54 @@ type Hook struct {
type Webhooks struct { type Webhooks struct {
URL string `mapstructure:"url"` URL string `mapstructure:"url"`
BeforeSendSingleMsg Hook `mapstructure:"beforeSendSingleMsg"` BeforeSendSingleMsg WebhookConfig `mapstructure:"beforeSendSingleMsg"`
BeforeUpdateUserInfoEx Hook `mapstructure:"beforeUpdateUserInfoEx"` BeforeUpdateUserInfoEx WebhookConfig `mapstructure:"beforeUpdateUserInfoEx"`
AfterUpdateUserInfoEx Hook `mapstructure:"afterUpdateUserInfoEx"` AfterUpdateUserInfoEx WebhookConfig `mapstructure:"afterUpdateUserInfoEx"`
AfterSendSingleMsg Hook `mapstructure:"afterSendSingleMsg"` AfterSendSingleMsg WebhookConfig `mapstructure:"afterSendSingleMsg"`
BeforeSendGroupMsg Hook `mapstructure:"beforeSendGroupMsg"` BeforeSendGroupMsg WebhookConfig `mapstructure:"beforeSendGroupMsg"`
AfterSendGroupMsg Hook `mapstructure:"afterSendGroupMsg"` AfterSendGroupMsg WebhookConfig `mapstructure:"afterSendGroupMsg"`
MsgModify Hook `mapstructure:"msgModify"` MsgModify WebhookConfig `mapstructure:"msgModify"`
UserOnline Hook `mapstructure:"userOnline"` UserOnline WebhookConfig `mapstructure:"userOnline"`
UserOffline Hook `mapstructure:"userOffline"` UserOffline WebhookConfig `mapstructure:"userOffline"`
UserKickOff Hook `mapstructure:"userKickOff"` UserKickOff WebhookConfig `mapstructure:"userKickOff"`
OfflinePush Hook `mapstructure:"offlinePush"` OfflinePush WebhookConfig `mapstructure:"offlinePush"`
OnlinePush Hook `mapstructure:"onlinePush"` OnlinePush WebhookConfig `mapstructure:"onlinePush"`
GroupOnlinePush WebhookConfig `mapstructure:"groupOnlinePush"`
BeforeAddFriend WebhookConfig `mapstructure:"beforeAddFriend"`
BeforeUpdateUserInfo WebhookConfig `mapstructure:"beforeUpdateUserInfo"`
BeforeCreateGroup WebhookConfig `mapstructure:"beforeCreateGroup"`
AfterCreateGroup WebhookConfig `mapstructure:"afterCreateGroup"`
BeforeMemberJoinGroup WebhookConfig `mapstructure:"beforeMemberJoinGroup"`
BeforeSetGroupMemberInfo WebhookConfig `mapstructure:"beforeSetGroupMemberInfo"`
AfterSetGroupMemberInfo WebhookConfig `mapstructure:"afterSetGroupMemberInfo"`
SetMessageReactionExtensions WebhookConfig `mapstructure:"setMessageReactionExtensions"`
QuitGroup WebhookConfig `mapstructure:"quitGroup"`
KillGroupMember WebhookConfig `mapstructure:"killGroupMember"`
DismissGroup WebhookConfig `mapstructure:"dismissGroup"`
JoinGroup WebhookConfig `mapstructure:"joinGroup"`
GroupMsgRead WebhookConfig `mapstructure:"groupMsgRead"`
SingleMsgRead WebhookConfig `mapstructure:"singleMsgRead"`
UpdateUserInfo WebhookConfig `mapstructure:"updateUserInfo"`
BeforeUserRegister WebhookConfig `mapstructure:"beforeUserRegister"`
AfterUserRegister WebhookConfig `mapstructure:"afterUserRegister"`
TransferGroupOwner WebhookConfig `mapstructure:"transferGroupOwner"`
BeforeSetFriendRemark WebhookConfig `mapstructure:"beforeSetFriendRemark"`
AfterSetFriendRemark WebhookConfig `mapstructure:"afterSetFriendRemark"`
AfterGroupMsgRead WebhookConfig `mapstructure:"afterGroupMsgRead"`
AfterGroupMsgRevoke WebhookConfig `mapstructure:"afterGroupMsgRevoke"`
AfterJoinGroup WebhookConfig `mapstructure:"afterJoinGroup"`
BeforeInviteUserToGroup WebhookConfig `mapstructure:"beforeInviteUserToGroup"`
JoinGroupAfter WebhookConfig `mapstructure:"joinGroupAfter"`
SetGroupInfoAfter WebhookConfig `mapstructure:"setGroupInfoAfter"`
SetGroupInfoBefore WebhookConfig `mapstructure:"setGroupInfoBefore"`
RevokeMsgAfter WebhookConfig `mapstructure:"revokeMsgAfter"`
AddBlackBefore WebhookConfig `mapstructure:"addBlackBefore"`
AddFriendAfter WebhookConfig `mapstructure:"addFriendAfter"`
AddFriendAgreeBefore WebhookConfig `mapstructure:"addFriendAgreeBefore"`
DeleteFriendAfter WebhookConfig `mapstructure:"deleteFriendAfter"`
ImportFriendsBefore WebhookConfig `mapstructure:"importFriendsBefore"`
ImportFriendsAfter WebhookConfig `mapstructure:"importFriendsAfter"`
RemoveBlackAfter WebhookConfig `mapstructure:"removeBlackAfter"`
} }
type ZooKeeper struct { type ZooKeeper struct {