mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 03:26:57 +08:00
24 lines
600 B
Go
24 lines
600 B
Go
package msg
|
|
|
|
import (
|
|
"Open_IM/pkg/common/constant"
|
|
"Open_IM/pkg/common/log"
|
|
//sdk "Open_IM/pkg/proto/sdk_ws"
|
|
"Open_IM/pkg/utils"
|
|
//"github.com/golang/protobuf/jsonpb"
|
|
//"github.com/golang/protobuf/proto"
|
|
)
|
|
|
|
func SuperGroupNotification(operationID, sendID, recvID string) {
|
|
n := &NotificationMsg{
|
|
SendID: sendID,
|
|
RecvID: recvID,
|
|
MsgFrom: constant.SysMsgType,
|
|
ContentType: constant.SuperGroupUpdateNotification,
|
|
SessionType: constant.SingleChatType,
|
|
OperationID: operationID,
|
|
}
|
|
log.NewInfo(operationID, utils.GetSelfFuncName(), string(n.Content))
|
|
Notification(n)
|
|
}
|