observeTeamNotification property

StreamController<List<NIMMessageReceipt>> observeTeamNotification
final

群组通知消息 群组通知的消息类型是 MsgTypeEnum.notification ,用户入群成功之后,任何关于群的变动(含自己入群的动作),云信服务器都会下发一条群通知消息。

目前支持触发群通知消息的事件有:

NotificationType 枚举 附件类 事件说明 AcceptInvite MemberChangeAttachment 接受邀请后入群(需要被邀请人同意的模式) InviteMember MemberChangeAttachment 邀请成员入群(无需被邀请人同意的模式) AddTeamManager MemberChangeAttachment 添加管理员 KickMember MemberChangeAttachment 被踢出群 TransferOwner MemberChangeAttachment 转让群主 PassTeamApply MemberChangeAttachment 申请加入群成功 RemoveTeamManager MemberChangeAttachment 移除管理员 DismissTeam DismissAttachment 解散群 LeaveTeam LeaveTeamAttachment 退出群 MuteTeamMember MuteMemberAttachment 群内禁言/解禁 UpdateTeam UpdateTeamAttachment 群信息资料更新

Implementation

// ignore: close_sinks
final StreamController<List<NIMMessageReceipt>> observeTeamNotification =
    StreamController<List<NIMMessageReceipt>>.broadcast();