Files
open-im-server/internal/common/notification/super_group.go
T

20 lines
466 B
Go
Raw Normal View History

2023-02-13 09:14:50 +08:00
package notification
import (
2023-02-23 19:15:30 +08:00
"OpenIM/pkg/common/constant"
2023-02-14 10:34:34 +08:00
"context"
2023-02-13 09:14:50 +08:00
//"github.com/golang/protobuf/jsonpb"
//"github.com/golang/protobuf/proto"
)
2023-02-14 10:34:34 +08:00
func (c *Check) SuperGroupNotification(ctx context.Context, sendID, recvID string) {
2023-02-13 18:44:53 +08:00
n := &NotificationMsg{
2023-02-13 09:14:50 +08:00
SendID: sendID,
RecvID: recvID,
MsgFrom: constant.SysMsgType,
ContentType: constant.SuperGroupUpdateNotification,
SessionType: constant.SingleChatType,
}
2023-02-14 10:34:34 +08:00
c.Notification(ctx, n)
2023-02-13 09:14:50 +08:00
}