NIM 跨平台 C++ SDK
|
#include "nim_qchat_channel_def.h"
#include "nim_qchat_message_def.h"
#include "nim_qchat_public_def.h"
#include "nim_qchat_server_def.h"
typedef void(* nim_qchat_mark_read_notification_cb_func) (const NIMQChatMarkReadSystemNotificationResp *resp) |
标记系统通知消息已读回调
typedef void(* nim_qchat_notification_updated_cb_func) (const NIMQChatSystemNotificationUpdatedResp *resp) |
消息更新通知回调
typedef void(* nim_qchat_recv_notification_cb_func) (const NIMQChatRecvSystemNotificationResp *resp) |
接收系统通知回调
typedef void(* nim_qchat_recv_typing_event_cb_func) (const NIMQChatRecvTypingEventResp *resp) |
接受正在输入事件回调
typedef void(* nim_qchat_send_notification_cb_func) (const NIMQChatSendSystemNotificationResp *resp) |
发送系统通知回调
typedef void(* nim_qchat_send_typing_event_cb_func) (const NIMQChatSendTypingEventResp *resp) |
发送正在输入事件回调
typedef void(* nim_qchat_update_notification_cb_func) (const NIMQChatUpdateSystemNotificationResp *resp) |
更新系统通知回调
typedef NIMQChatSystemNotificationDataChannelCategoryCreate NIMQChatSystemNotificationDataChannelCategoryUpdate |
typedef NIMQChatSystemNotificationDataServerRoleAddMember NIMQChatSystemNotificationDataServerRoleRemoveMember |
圈组系统通知类型
枚举值 | |
---|---|
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 |