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.
|
|
|
package notification
|
|
|
|
|
|
|
|
import (
|
|
|
|
"Open_IM/pkg/common/constant"
|
|
|
|
"context"
|
|
|
|
//"github.com/golang/protobuf/jsonpb"
|
|
|
|
//"github.com/golang/protobuf/proto"
|
|
|
|
)
|
|
|
|
|
|
|
|
func (c *Check) SuperGroupNotification(ctx context.Context, sendID, recvID string) {
|
|
|
|
n := &NotificationMsg{
|
|
|
|
SendID: sendID,
|
|
|
|
RecvID: recvID,
|
|
|
|
MsgFrom: constant.SysMsgType,
|
|
|
|
ContentType: constant.SuperGroupUpdateNotification,
|
|
|
|
SessionType: constant.SingleChatType,
|
|
|
|
}
|
|
|
|
c.Notification(ctx, n)
|
|
|
|
}
|