NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nim_qchat_system_notification_def.h 文件参考

浏览源代码.

struct  NIMQChatSystemNotificationMarkReadInfo
 
struct  NIMQChatSystemNotification
 
struct  NIMQChatTypingEvent
 
struct  NIMQChatSystemNotificationDataServerInvite
 
struct  NIMQChatSystemNotificationDataServerInviteReject
 
struct  NIMQChatSystemNotificationDataServerApply
 
struct  NIMQChatSystemNotificationDataServerApplyReject
 
struct  NIMQChatSystemNotificationDataServerCreate
 
struct  NIMQChatSystemNotificationDataServerUpdate
 
struct  NIMQChatSystemNotificationDataChannelCreate
 
struct  NIMQChatSystemNotificationDataChannelUpdate
 
struct  NIMQChatSystemNotificationDataMemberInviteDone
 
struct  NIMQChatSystemNotificationDataMemberInviteAccept
 
struct  NIMQChatSystemNotificationDataMemberApplyDone
 
struct  NIMQChatSystemNotificationDataMemberApplyAccept
 
struct  NIMQChatSystemNotificationDataMemberKick
 
struct  NIMQChatSystemNotificationDataMemberLeave
 
struct  NIMQChatSystemNotificationDataMemberUpdate
 
struct  NIMQChatSystemNotificationDataWhiteBlackRoleUpdate
 
struct  NIMQChatSystemNotificationDataWhiteBlackMembersUpdate
 
struct  NIMQChatSystemNotificationDataQuickCommentChanged
 
struct  NIMQChatSystemNotificationDataChannelCategoryCreate
 
struct  NIMQChatSystemNotificationDataChannelCategoryRemove
 
struct  NIMQChatSystemNotificationDataChannelCategoryWhiteBlackRoleUpdate
 
struct  NIMQChatSystemNotificationDataChannelCategoryWhiteBlackMembersUpdate
 
struct  NIMQChatSystemNotificationDataServerRoleAddMember
 
struct  NIMQChatSystemNotificationDataServerRolePermissionChange
 
struct  NIMQChatSystemNotificationDataChannelRolePermissionChange
 
struct  NIMQChatSystemNotificationDataMemberRolePermissionChange
 
struct  NIMQChatSystemNotificationDataChannelVisibilityChange
 
struct  NIMQChatSystemNotificationDataServerEnterLeave
 
struct  NIMQChatSystemNotificationDataServerJoinByInviteCode
 
struct  NIMQChatSystemNotificationDataChannelVisitorVisibilityChange
 
struct  NIMQChatUpdatedMyMemberInfo
 
struct  NIMQChatSystemNotificationDataMyMemberInfoUpdated
 
struct  NIMQChatRecvSystemNotificationResp
 
struct  NIMQChatSystemNotificationUpdatedResp
 
struct  NIMQChatSendSystemNotificationResp
 
struct  NIMQChatUpdateSystemNotificationResp
 
struct  NIMQChatRecvTypingEventResp
 
struct  NIMQChatSendTypingEventResp
 
struct  NIMQChatRegRecvSystemNotificationCbParam
 
struct  NIMQChatRegSystemNotificationUpdatedCbParam
 
struct  NIMQChatSendSystemNotificationParam
 
struct  NIMQChatUpdateSystemNotificationParam
 
struct  NIMQChatMarkSystemNotificationsReadParam
 
struct  NIMQChatRegRecvTypingEventCbParam
 
struct  NIMQChatSendTypingEventParam
 

类型定义

typedef NIMQChatSystemNotificationDataChannelCategoryCreate NIMQChatSystemNotificationDataChannelCategoryUpdate
 
typedef NIMQChatSystemNotificationDataServerRoleAddMember NIMQChatSystemNotificationDataServerRoleRemoveMember
 
typedef NIMQChatBaseResp NIMQChatMarkReadSystemNotificationResp
 
typedef void(* nim_qchat_recv_notification_cb_func) (const NIMQChatRecvSystemNotificationResp *resp)
 接收系统通知回调
 
typedef void(* nim_qchat_notification_updated_cb_func) (const NIMQChatSystemNotificationUpdatedResp *resp)
 消息更新通知回调
 
typedef void(* nim_qchat_send_notification_cb_func) (const NIMQChatSendSystemNotificationResp *resp)
 发送系统通知回调
 
typedef void(* nim_qchat_update_notification_cb_func) (const NIMQChatUpdateSystemNotificationResp *resp)
 更新系统通知回调
 
typedef void(* nim_qchat_mark_read_notification_cb_func) (const NIMQChatMarkReadSystemNotificationResp *resp)
 标记系统通知消息已读回调
 
typedef void(* nim_qchat_recv_typing_event_cb_func) (const NIMQChatRecvTypingEventResp *resp)
 接受正在输入事件回调
 
typedef void(* nim_qchat_send_typing_event_cb_func) (const NIMQChatSendTypingEventResp *resp)
 发送正在输入事件回调
 

枚举

enum  NIMQChatSystemNotificationToType {
  kNIMQChatSystemNotificationToTypeUnknown , kNIMQChatSystemNotificationToTypeServer , kNIMQChatSystemNotificationToTypeChannel , kNIMQChatSystemNotificationToTypeServerAccids ,
  kNIMQChatSystemNotificationToTypeChannelAccids , kNIMQChatSystemNotificationToTypeAccids
}
 
enum  NIMQChatSystemNotificationType {
  kNIMQChatSystemNotificationTypeUnkonwn = 0 , kNIMQChatSystemNotificationTypeMemberInvite = 1 , kNIMQChatSystemNotificationTypeMemberInviteReject = 2 , kNIMQChatSystemNotificationTypeMemberApply = 3 ,
  kNIMQChatSystemNotificationTypeMemberApplyReject = 4 , kNIMQChatSystemNotificationTypeServerCreate = 5 , kNIMQChatSystemNotificationTypeServerRemove = 6 , kNIMQChatSystemNotificationTypeServerUpdate = 7 ,
  kNIMQChatSystemNotificationTypeMemberInviteDone = 8 , kNIMQChatSystemNotificationTypeMemberInviteAccept = 9 , kNIMQChatSystemNotificationTypeMemberApplyDone = 10 , kNIMQChatSystemNotificationTypeMemberApplyAccept = 11 ,
  kNIMQChatSystemNotificationTypeMemberKick = 12 , kNIMQChatSystemNotificationTypeMemberLeave = 13 , kNIMQChatSystemNotificationTypeMemberUpdate = 14 , kNIMQChatSystemNotificationTypeChannelCreate = 15 ,
  kNIMQChatSystemNotificationTypeChannelDelete = 16 , kNIMQChatSystemNotificationTypeChannelUpdate = 17 , kNIMQChatSystemNotificationTypeWhiteBlackRoleUpdate = 18 , kNIMQChatSystemNotificationTypeWhiteBlackMembersUpdate = 19 ,
  kNIMQChatSystemNotificationTypeQuickCommentChanged = 20 , kNIMQChatSystemNotificationTypeChannelCategoryCreate = 21 , kNIMQChatSystemNotificationTypeChannelCategoryRemove = 22 , kNIMQChatSystemNotificationTypeChannelCategoryUpdate = 23 ,
  kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackRoleUpdate = 24 , kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackMembersUpdate = 25 , kNIMQChatSystemNotificationTypeServerRoleAddMember = 26 , kNIMQChatSystemNotificationTypeServerRoleRemoveMember = 27 ,
  kNIMQChatSystemNotificationTypeServerRolePermissionChange = 28 , kNIMQChatSystemNotificationTypeChannelRolePermissionChange = 29 , kNIMQChatSystemNotificationTypeMemberRolePermissionChange = 30 , kNIMQChatSystemNotificationTypeChannelVisibilityChange = 31 ,
  kNIMQChatSystemNotificationTypeServerEnterLeave = 32 , kNIMQChatSystemNotificationTypeServerJoinByInviteCode = 33 , kNIMQChatSystemNotificationTypeChannelVisitorVisibilityChange = 34 , kNIMQChatSystemNotificationTypeMyMemberInfoUpdated = 35 ,
  kNIMQChatSystemNotificationTypeCustom = 100
}
 
enum  NIMQChatSystemNotificationStatus { kNIMQChatSystemNotificationNormal , kNIMQChatSystemNotificationUser = 10000 }
 

详细描述

作者
NetEase Yunxin
版本
0.1
日期
2022-01-17

类型定义说明

◆ nim_qchat_mark_read_notification_cb_func

typedef void(* nim_qchat_mark_read_notification_cb_func) (const NIMQChatMarkReadSystemNotificationResp *resp)

标记系统通知消息已读回调

◆ nim_qchat_notification_updated_cb_func

typedef void(* nim_qchat_notification_updated_cb_func) (const NIMQChatSystemNotificationUpdatedResp *resp)

消息更新通知回调

◆ nim_qchat_recv_notification_cb_func

typedef void(* nim_qchat_recv_notification_cb_func) (const NIMQChatRecvSystemNotificationResp *resp)

接收系统通知回调

◆ nim_qchat_recv_typing_event_cb_func

typedef void(* nim_qchat_recv_typing_event_cb_func) (const NIMQChatRecvTypingEventResp *resp)

接受正在输入事件回调

◆ nim_qchat_send_notification_cb_func

typedef void(* nim_qchat_send_notification_cb_func) (const NIMQChatSendSystemNotificationResp *resp)

发送系统通知回调

◆ nim_qchat_send_typing_event_cb_func

typedef void(* nim_qchat_send_typing_event_cb_func) (const NIMQChatSendTypingEventResp *resp)

发送正在输入事件回调

◆ nim_qchat_update_notification_cb_func

typedef void(* nim_qchat_update_notification_cb_func) (const NIMQChatUpdateSystemNotificationResp *resp)

更新系统通知回调

◆ NIMQChatMarkReadSystemNotificationResp

◆ NIMQChatSystemNotificationDataChannelCategoryUpdate

◆ NIMQChatSystemNotificationDataServerRoleRemoveMember

枚举类型说明

◆ NIMQChatSystemNotificationStatus

枚举值
kNIMQChatSystemNotificationNormal 

普通状态

kNIMQChatSystemNotificationUser 

◆ NIMQChatSystemNotificationToType

枚举值
kNIMQChatSystemNotificationToTypeUnknown 

默认值,需要由用户修改,否则报错 10414 参数错误

kNIMQChatSystemNotificationToTypeServer 

发送到 Server,server_id 必填

kNIMQChatSystemNotificationToTypeChannel 

发送到 Channel,server_id 和 channel_id 必填

kNIMQChatSystemNotificationToTypeServerAccids 

发送到 Server 中的指定用户,server_id 和 to_accids 必填

kNIMQChatSystemNotificationToTypeChannelAccids 

发送到 Channel 中的指定用户,server_id、channel_id 和 to_accids 必填

kNIMQChatSystemNotificationToTypeAccids 

发送给指定用户,to_accids 必填

◆ NIMQChatSystemNotificationType

圈组系统通知类型

枚举值
kNIMQChatSystemNotificationTypeUnkonwn 

未知类型系统通知

kNIMQChatSystemNotificationTypeMemberInvite 

服务器成员邀请 msg_data: NULL

kNIMQChatSystemNotificationTypeMemberInviteReject 

服务器成员邀请被拒绝 msg_data: NULL

kNIMQChatSystemNotificationTypeMemberApply 

服务器成员申请 msg_data: NULL

kNIMQChatSystemNotificationTypeMemberApplyReject 

服务器成员申请被拒绝 msg_data: NULL

kNIMQChatSystemNotificationTypeServerCreate 

服务器创建 msg_data: NIMQChatSystemNotificationDataServerCreate

kNIMQChatSystemNotificationTypeServerRemove 

服务器解散 msg_data: NULL

kNIMQChatSystemNotificationTypeServerUpdate 

服务器更新 msg_data: NIMQChatSystemNotificationDataServerUpdate

kNIMQChatSystemNotificationTypeMemberInviteDone 

服务器成员邀请完成 msg_data: NIMQChatSystemNotificationDataMemberInviteDone

kNIMQChatSystemNotificationTypeMemberInviteAccept 

服务器成员邀请被接受 msg_data: NIMQChatSystemNotificationDataMemberInviteAccept

kNIMQChatSystemNotificationTypeMemberApplyDone 

服务器成员申请完成 msg_data: NIMQChatSystemNotificationDataMemberApplyDone

kNIMQChatSystemNotificationTypeMemberApplyAccept 

服务器成员申请被接受 msg_data: NIMQChatSystemNotificationDataMemberApplyAccept

kNIMQChatSystemNotificationTypeMemberKick 

服务器成员被踢出 msg_data: NIMQChatSystemNotificationDataMemberKick

kNIMQChatSystemNotificationTypeMemberLeave 

服务器成员离开 msg_data: NIMQChatSystemNotificationDataMemberLeave

kNIMQChatSystemNotificationTypeMemberUpdate 

服务器成员更新 msg_data: NIMQChatSystemNotificationDataMemberUpdate

kNIMQChatSystemNotificationTypeChannelCreate 

频道创建 msg_data: NIMQChatSystemNotificationDataChannelCreate

kNIMQChatSystemNotificationTypeChannelDelete 

频道解散 msg_data: NULL

kNIMQChatSystemNotificationTypeChannelUpdate 

频道更新 msg_data: NIMQChatSystemNotificationDataChannelUpdate

kNIMQChatSystemNotificationTypeWhiteBlackRoleUpdate 

频道白/黑名单身份组更新 msg_data: NIMQChatSystemNotificationDataWhiteBlackRoleUpdate

kNIMQChatSystemNotificationTypeWhiteBlackMembersUpdate 

频道白/黑名单成员更新 msg_data: NIMQChatSystemNotificationDataWhiteBlackMembersUpdate

kNIMQChatSystemNotificationTypeQuickCommentChanged 

添加或删除快捷评论通知 msg_data: NIMQChatSystemNotificationQuickCommentChanged

kNIMQChatSystemNotificationTypeChannelCategoryCreate 

创建频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryCreate

kNIMQChatSystemNotificationTypeChannelCategoryRemove 

删除频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryRemove

kNIMQChatSystemNotificationTypeChannelCategoryUpdate 

更新频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryUpdate

kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackRoleUpdate 

频道分组白/黑名单身份组更新 msg_data: NIMQChatSystemNotificationDataChannelCategoryWhiteBlackRoleUpdate

kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackMembersUpdate 

频道分组白/黑名单成员更新 msg_data: NIMQChatSystemNotificationDataChannelCategoryWhiteBlackMembersUpdate

kNIMQChatSystemNotificationTypeServerRoleAddMember 

服务器身份组加入成员 msg_data: NIMQChatSystemNotificationDataServerRoleAddMember

kNIMQChatSystemNotificationTypeServerRoleRemoveMember 

服务器身份组移出成员 msg_data: NIMQChatSystemNotificationDataServerRoleRemoveMember

kNIMQChatSystemNotificationTypeServerRolePermissionChange 

服务器身份组权限变更 msg_data: NIMQChatSystemNotificationDataServerRolePermissionChange

kNIMQChatSystemNotificationTypeChannelRolePermissionChange 

频道定制身份组权限变更 msg_data: NIMQChatSystemNotificationDataChannelRolePermissionChange

kNIMQChatSystemNotificationTypeMemberRolePermissionChange 

频道个人定制权限变更 msg_data: NIMQChatSystemNotificationDataMemberRolePermissionChange

kNIMQChatSystemNotificationTypeChannelVisibilityChange 

频道对当前用户可见性变更 msg_data: NIMQChatSystemNotificationDataChannelVisibilityChange

kNIMQChatSystemNotificationTypeServerEnterLeave 

当前用户进入/离开服务器 msg_data: NIMQChatSystemNotificationDataServerEnterLeave

kNIMQChatSystemNotificationTypeServerJoinByInviteCode 

用户通过邀请码加入服务器 msg_data: NIMQChatSystemNotificationDataServerJoinByInviteCode

kNIMQChatSystemNotificationTypeChannelVisitorVisibilityChange 

频道对游客可见性变更 msg_data: NIMQChatSystemNotificationDataChannelVisitorVisibilityChange

kNIMQChatSystemNotificationTypeMyMemberInfoUpdated 

当前用户服务器成员信息对IM资料的联动变更 msg_data: NIMQChatSystemNotificationDataMyMemberInfoUpdated

kNIMQChatSystemNotificationTypeCustom 

自定义系统通知 msg_data: NULL