You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
495 B
20 lines
495 B
2 years ago
|
package notification
|
||
|
|
||
|
import (
|
||
2 years ago
|
"context"
|
||
2 years ago
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/constant"
|
||
2 years ago
|
//"github.com/golang/protobuf/jsonpb"
|
||
|
//"github.com/golang/protobuf/proto"
|
||
|
)
|
||
|
|
||
2 years ago
|
func (c *Check) SuperGroupNotification(ctx context.Context, sendID, recvID string) {
|
||
2 years ago
|
n := &NotificationMsg{
|
||
2 years ago
|
SendID: sendID,
|
||
|
RecvID: recvID,
|
||
|
MsgFrom: constant.SysMsgType,
|
||
|
ContentType: constant.SuperGroupUpdateNotification,
|
||
|
SessionType: constant.SingleChatType,
|
||
|
}
|
||
2 years ago
|
c.Notification(ctx, n)
|
||
2 years ago
|
}
|