send msg change

This commit is contained in:
Gordon
2021-07-15 12:33:59 +08:00
parent 18d3523cf2
commit 41f02e51f6
7 changed files with 37 additions and 21 deletions
+12
View File
@@ -57,6 +57,18 @@ type CreateGroupSysMsg struct {
Text string `json:"text"`
}
type NotificationContent struct {
IsDisplay int32 `json:"isDisplay"`
DefaultTips string `json:"defaultTips"`
Detail string `json:"detail"`
}
type KickGroupMemberApiReq struct {
GroupID string `json:"groupID"`
UidList []string `json:"uidList"`
Reason string `json:"reason"`
OperationID string `json:"operationID"`
}
func NewCreateGroupSysMsgString(create *CreateGroupSysMsg, text string) string {
create.Text = text
jstring, _ := json.Marshal(create)