NIM PC Cross Platform SDK
nim_qchat Namespace Reference

namespace nim_qchat More...

Classes

class  Attachment
 圈组附件能力 More...
 
class  Channel
 圈组频道 More...
 
class  ChannelCategory
 圈组频道分组 More...
 
struct  DownloadAttachementCallbacks
 
struct  IQChatAttachInterface
 
class  Message
 圈组消息 More...
 
class  QChat
 圈组客户端接口 More...
 
struct  QChatAddChannelCategoryMemberRoleParam
 
struct  QChatAddChannelCategoryMemberRoleResp
 
struct  QChatAddChannelCategoryRoleParam
 
struct  QChatAddChannelCategoryRoleResp
 
struct  QChatAddChannelRoleParam
 
struct  QChatAddChannelRoleResp
 
struct  QChatAddMemberRoleParam
 
struct  QChatAddMemberRoleResp
 
struct  QChatAddMembersToServerRoleParam
 
struct  QChatAddMembersToServerRoleResp
 
struct  QChatApplyInfoData
 
struct  QChatAttachmentCustomTokenResp
 
struct  QChatAttachmentDownloadParam
 
struct  QChatAttachmentDownloadResp
 
struct  QChatAttachmentProgressResp
 
struct  QChatAttachmentRegCustomTokenCbParam
 
struct  QChatAttachmentRegDownloadCbParam
 
struct  QChatAttachmentRegProgressCbParam
 
struct  QChatAttachmentRegUploadCbParam
 
struct  QChatAttachmentStopDownloadParam
 
struct  QChatAttachmentStopUploadParam
 
struct  QChatAttachmentUploadParam
 
struct  QChatAttachmentUploadResp
 
struct  QChatAudioAttach
 
struct  QChatBaseResp
 
struct  QChatBeInvitedInfoData
 
struct  QChatBusinessAntiSpamInfo
 
struct  QChatChannelCategoryCreateParam
 
struct  QChatChannelCategoryCreateResp
 
struct  QChatChannelCategoryGetExistingWhiteBlackMembersParam
 
struct  QChatChannelCategoryGetExistingWhiteBlackMembersResp
 
struct  QChatChannelCategoryGetExistingWhiteBlackRolesParam
 
struct  QChatChannelCategoryGetExistingWhiteBlackRolesResp
 
struct  QChatChannelCategoryGetWhiteBlackMembersPageParam
 
struct  QChatChannelCategoryGetWhiteBlackMembersPageResp
 
struct  QChatChannelCategoryGetWhiteBlackRolesPageParam
 
struct  QChatChannelCategoryGetWhiteBlackRolesPageResp
 
struct  QChatChannelCategoryInfo
 
struct  QChatChannelCategoryMemberRoleInfo
 
struct  QChatChannelCategoryRemoveParam
 
struct  QChatChannelCategoryRoleInfo
 
struct  QChatChannelCategoryUpdateParam
 
struct  QChatChannelCategoryUpdateWhiteBlackMembersParam
 
struct  QChatChannelCategoryUpdateWhiteBlackRoleParam
 
struct  QChatChannelCreateParam
 
struct  QChatChannelCreateResp
 
struct  QChatChannelDeleteParam
 
struct  QChatChannelGetCategoriesByIDParam
 
struct  QChatChannelGetCategoriesByIDResp
 
struct  QChatChannelGetCategoriesPageParam
 
struct  QChatChannelGetCategoriesPageResp
 
struct  QChatChannelGetCategoryChannelsPageParam
 
struct  QChatChannelGetChannelsPageParam
 
struct  QChatChannelGetChannelsPageResp
 
struct  QChatChannelGetChannelsParam
 
struct  QChatChannelGetChannelsResp
 
struct  QChatChannelGetExistingWhiteBlackMembersParam
 
struct  QChatChannelGetExistingWhiteBlackMembersResp
 
struct  QChatChannelGetExistingWhiteBlackRolesParam
 
struct  QChatChannelGetExistingWhiteBlackRolesResp
 
struct  QChatChannelGetMembersPageParam
 
struct  QChatChannelGetRTCInfoParam
 
struct  QChatChannelGetRTCInfoResp
 
struct  QChatChannelGetRTCOnlineMembersParam
 
struct  QChatChannelGetRTCOnlineMembersResp
 
struct  QChatChannelGetWhiteBlackMembersPageParam
 
struct  QChatChannelGetWhiteBlackMembersPageResp
 
struct  QChatChannelGetWhiteBlackRolesPageParam
 
struct  QChatChannelGetWhiteBlackRolesPageResp
 
struct  QChatChannelInfo
 
struct  QChatChannelMemberSearchParam
 
struct  QChatChannelMemberSearchResp
 
struct  QChatChannelQueryUnreadInfoParam
 
struct  QChatChannelQueryUnreadInfoResp
 
struct  QChatChannelRegUnreadCbParam
 
struct  QChatChannelRoleInfo
 
struct  QChatChannelRTCAudioInfo
 
struct  QChatChannelRTCInfo
 
struct  QChatChannelRTCVideoInfo
 
struct  QChatChannelSearchPageParam
 
struct  QChatChannelSubscribeParam
 
struct  QChatChannelSubscribeResp
 
struct  QChatChannelUnreadResp
 
struct  QChatChannelUpdateCategoryInfoParam
 
struct  QChatChannelUpdateParam
 
struct  QChatChannelUpdateRTCInfoParam
 
struct  QChatChannelUpdateWhiteBlackMembersParam
 
struct  QChatChannelUpdateWhiteBlackRoleParam
 
struct  QChatCheckPermissionParam
 
struct  QChatCheckPermissionResp
 
struct  QChatCheckPermissionsParam
 
struct  QChatCheckPermissionsResp
 
struct  QChatCleanupParam
 
struct  QChatCreateServerRoleParam
 
struct  QChatCreateServerRoleResp
 
struct  QChatCustomTokenResp
 
struct  QChatDefaultAttach
 
struct  QChatDeleteMessageParam
 
struct  QChatDeleteServerRoleParam
 
struct  QChatEncryptionConfiguration
 
struct  QChatFCSConfiguration
 
struct  QChatFileAttach
 
struct  QChatGenerateInviteCodeInfoData
 
struct  QChatGetChannelCategoryMemberRolesPageParam
 
struct  QChatGetChannelCategoryMemberRolesPageResp
 
struct  QChatGetChannelCategoryRolesPageParam
 
struct  QChatGetChannelCategoryRolesPageResp
 
struct  QChatGetChannelRolesParam
 
struct  QChatGetChannelRolesResp
 
struct  QChatGetExistingAccidsInServerRoleParam
 
struct  QChatGetExistingAccidsOfMemberRolesParam
 
struct  QChatGetExistingAccidsOfMemberRolesResp
 
struct  QChatGetExistingChannelRolesByServerRoleIdsParam
 
struct  QChatGetExistingServerRolesByAccidsParam
 
struct  QChatGetExistingServerRolesByAccidsResp
 
struct  QChatGetLastMessagesParam
 
struct  QChatGetLastMessagesResp
 
struct  QChatGetMemberRolesParam
 
struct  QChatGetMemberRolesResp
 
struct  QChatGetMembersFromServerRoleParam
 
struct  QChatGetMembersFromServerRoleResp
 
struct  QChatGetMessageHistoryByIdsParam
 
struct  QChatGetMessagesCacheParam
 
struct  QChatGetMessagesParam
 
struct  QChatGetMessagesResp
 
struct  QChatGetQuickCommentsParam
 
struct  QChatGetQuickCommentsResp
 
struct  QChatGetReferMessagesParam
 
struct  QChatGetRolesByAccidParam
 
struct  QChatGetRTCTokenParam
 
struct  QChatGetRTCTokenResp
 
struct  QChatGetServerRolesParam
 
struct  QChatGetServerRolesResp
 
struct  QChatGetThreadMessagesParam
 
struct  QChatGetThreadMessagesResp
 
struct  QChatGetThreadRootMessagesMetaParam
 
struct  QChatGetThreadRootMessagesMetaResp
 
struct  QChatImageAttach
 
struct  QChatInitParam
 
struct  QChatInviteApplyRecord
 
struct  QChatInviteApplyRecordData
 
struct  QChatInviteInfoData
 
struct  QChatInviteUserInfo
 
struct  QChatJoinByInviteCodeInfoData
 
struct  QChatKickedResp
 
struct  QChatKickParam
 
struct  QChatKickResp
 
struct  QChatLocationAttach
 
struct  QChatLoginClientInfo
 
struct  QChatLoginParam
 
struct  QChatLoginResp
 
struct  QChatLoginStatusResp
 
struct  QChatLogoutParam
 
struct  QChatLogoutResp
 
struct  QChatMarkMessageReadParam
 
struct  QChatMarkMessageReadResp
 
struct  QChatMarkSystemNotificationsReadParam
 
struct  QChatMemberBanInfo
 
struct  QChatMemberInfo
 
struct  QChatMemberRoleInfo
 
struct  QChatMessage
 
struct  QChatMessageAntiSpamInfo
 
struct  QChatMessageCacheConfiguration
 
struct  QChatMessageSearchPageParam
 
struct  QChatMessageSearchPageResp
 
struct  QChatMessageSend
 
struct  QChatMessageThreadInfo
 
struct  QChatMessageUpdateContent
 
struct  QChatMessageUpdateInfo
 
struct  QChatMessageUpdateOpeInfo
 
struct  QChatMsgUpdatedResp
 
struct  QChatMultispotLoginResp
 
struct  QChatNotificationAttach
 
struct  QChatPageInfo
 
struct  QChatQuickCommentDetail
 
struct  QChatQuickCommentInfo
 
struct  QChatQuickCommentParam
 
struct  QChatRecvMsgResp
 
struct  QChatRecvSystemNotificationResp
 
struct  QChatRecvTypingEventResp
 
struct  QChatRegCustomTokenCbParam
 
struct  QChatRegKickedCbParam
 
struct  QChatRegLoginStatusCbParam
 
struct  QChatRegMsgUpdatedCbParam
 
struct  QChatRegMultispotLoginCbParam
 
struct  QChatRegRecvMsgCbParam
 
struct  QChatRegRecvSystemNotificationCbParam
 
struct  QChatRegRecvTypingEventCbParam
 
struct  QChatRegSystemNotificationUpdatedCbParam
 
struct  QChatRemoveChannelCategoryMemberRoleParam
 
struct  QChatRemoveChannelCategoryRoleParam
 
struct  QChatRemoveChannelRoleParam
 
struct  QChatRemoveMemberRoleParam
 
struct  QChatRemoveMembersFromServerRoleParam
 
struct  QChatReplyMessageParam
 
struct  QChatRevokeMessageParam
 
struct  QChatRoleInfoBase
 
struct  QChatRoleMemberInfo
 
struct  QChatSDKLogResp
 
struct  QChatSendMessageParam
 
struct  QChatSendMessageResp
 
struct  QChatSendSystemNotificationParam
 
struct  QChatSendSystemNotificationResp
 
struct  QChatSendTypingEventParam
 
struct  QChatSendTypingEventResp
 
struct  QChatServerAcceptApplyParam
 
struct  QChatServerAcceptInviteParam
 
struct  QChatServerApplyParam
 
struct  QChatServerApplyResp
 
struct  QChatServerBanMemberParam
 
struct  QChatServerCreateParam
 
struct  QChatServerCreateResp
 
struct  QChatServerDeleteParam
 
struct  QChatServerGenerateInviteCodeParam
 
struct  QChatServerGenerateInviteCodeResp
 QChatServerGenerateInviteCodeResp. More...
 
struct  QChatServerGetBannedMembersPageParam
 
struct  QChatServerGetBannedMembersPageResp
 
struct  QChatServerGetInviteApplyRecordOfSelfParam
 
struct  QChatServerGetInviteApplyRecordOfServerParam
 
struct  QChatServerGetInviteApplyRecordOfServerResp
 
struct  QChatServerGetMembersPageParam
 
struct  QChatServerGetMembersPageResp
 
struct  QChatServerGetMembersParam
 
struct  QChatServerGetMembersResp
 
struct  QChatServerGetServersPageParam
 
struct  QChatServerGetServersPageResp
 
struct  QChatServerGetServersParam
 
struct  QChatServerGetServersResp
 
struct  QChatServerInfo
 
struct  QChatServerInviteParam
 
struct  QChatServerInviteResp
 
struct  QChatServerJoinByInviteCodeParam
 
struct  QChatServerKickParam
 
struct  QChatServerLeaveParam
 
struct  QChatServerMarkReadParam
 
struct  QChatServerMarkReadResp
 
struct  QChatServerMemberSearchParam
 
struct  QChatServerRegUnreadCbParam
 
struct  QChatServerRejectApplyParam
 
struct  QChatServerRejectInviteParam
 
struct  QChatServerRoleInfo
 
struct  QChatServerSearchPageParam
 
struct  QChatServerSubscribeAllChannelParam
 
struct  QChatServerSubscribeAllChannelResp
 
struct  QChatServerSubscribeParam
 
struct  QChatServerSubscribeResp
 
struct  QChatServerUnbanMemberParam
 
struct  QChatServerUnreadResp
 
struct  QChatServerUpdateMemberInfoParam
 
struct  QChatServerUpdateParam
 
struct  QChatSystemNotification
 
struct  QChatSystemNotificationDataBase
 
struct  QChatSystemNotificationDataChannelCategoryCreate
 
struct  QChatSystemNotificationDataChannelCategoryRemove
 
struct  QChatSystemNotificationDataChannelCategoryWhiteBlackMembersUpdate
 
struct  QChatSystemNotificationDataChannelCategoryWhiteBlackRoleUpdate
 
struct  QChatSystemNotificationDataChannelCreate
 
struct  QChatSystemNotificationDataChannelRolePermissionChange
 
struct  QChatSystemNotificationDataChannelUpdate
 
struct  QChatSystemNotificationDataChannelVisibilityChange
 
struct  QChatSystemNotificationDataMemberApplyAccept
 
struct  QChatSystemNotificationDataMemberApplyDone
 
struct  QChatSystemNotificationDataMemberInviteAccept
 
struct  QChatSystemNotificationDataMemberInviteDone
 
struct  QChatSystemNotificationDataMemberKick
 
struct  QChatSystemNotificationDataMemberLeave
 
struct  QChatSystemNotificationDataMemberRolePermissionChange
 
struct  QChatSystemNotificationDataMemberUpdate
 
struct  QChatSystemNotificationDataQuickCommentChanged
 
struct  QChatSystemNotificationDataServerApply
 
struct  QChatSystemNotificationDataServerApplyReject
 
struct  QChatSystemNotificationDataServerCreate
 
struct  QChatSystemNotificationDataServerEnterLeave
 
struct  QChatSystemNotificationDataServerInvite
 
struct  QChatSystemNotificationDataServerInviteReject
 
struct  QChatSystemNotificationDataServerJoinByInviteCode
 
struct  QChatSystemNotificationDataServerRoleAddMember
 
struct  QChatSystemNotificationDataServerRolePermissionChange
 
struct  QChatSystemNotificationDataServerUpdate
 
struct  QChatSystemNotificationDataWhiteBlackMembersUpdate
 
struct  QChatSystemNotificationDataWhiteBlackRoleUpdate
 
struct  QChatSystemNotificationUpdatedResp
 
struct  QChatTipsAttach
 
struct  QChatTypingEvent
 
struct  QChatUpdateChannelCategoryMemberRoleParam
 
struct  QChatUpdateChannelCategoryRoleParam
 
struct  QChatUpdateChannelRoleParam
 
struct  QChatUpdateMemberRoleParam
 
struct  QChatUpdateMessageParam
 
struct  QChatUpdateMessageResp
 
struct  QChatUpdateServerRoleParam
 
struct  QChatUpdateServerRolePrioritiesParam
 
struct  QChatUpdateServerRoleResp
 
struct  QChatUpdateSystemNotificationParam
 
struct  QChatUpdateSystemNotificationResp
 
struct  QChatVideoAttach
 
class  Role
 圈组身份组 More...
 
class  Server
 圈组服务器 More...
 
class  SystemNotification
 圈组系统通知 More...
 
struct  UploadAttachementCallbacks
 

Typedefs

typedef std::function< QChatAttachmentCustomTokenResp(const QChatAttachmentCustomTokenResp &)> AttachmentCustomTokenCallback
 获取附件自定义token回调
 
typedef std::function< void(const QChatAttachmentUploadResp &)> AttachmentUploadCallback
 上传附件回调
 
typedef std::function< void(const QChatAttachmentDownloadResp &)> AttachmentDownloadCallback
 下载附件回调
 
typedef std::function< void(const QChatAttachmentProgressResp &)> AttachmentProgressCallback
 上传/下载附件进度回调
 
using QChatChannelDeleteResp = QChatBaseResp
 
using QChatChannelUpdateResp = QChatChannelCreateResp
 
using QChatChannelUpdateCategoryInfoResp = QChatChannelCreateResp
 
typedef QChatBaseResp QChatChannelUpdateWhiteBlackRoleResp
 
typedef QChatBaseResp QChatChannelUpdateWhiteBlackMembersResp
 
using QChatChannelGetMembersPageResp = QChatServerGetMembersPageResp
 
using QChatChannelSearchPageResp = QChatChannelGetChannelsPageResp
 
using QChatChannelCategoryRemoveResp = QChatBaseResp
 
using QChatChannelCategoryUpdateResp = QChatChannelCategoryCreateResp
 
using QChatChannelGetCategoryChannelsPageResp = QChatChannelGetChannelsPageResp
 
using QChatChannelCategoryUpdateWhiteBlackRoleResp = QChatBaseResp
 
using QChatChannelCategoryUpdateWhiteBlackMembersResp = QChatBaseResp
 
using QChatChannelUpdateRTCInfoResp = QChatBaseResp
 
typedef std::function< void(const QChatChannelUnreadResp &)> ChannelUnreadCallback
 未读信息回调
 
typedef std::function< void(const QChatChannelCreateResp &)> ChannelCreateCallback
 创建频道回调
 
typedef std::function< void(const QChatChannelDeleteResp &)> ChannelDeleteCallback
 删除频道回调
 
typedef std::function< void(const QChatChannelUpdateResp &)> ChannelUpdateCallback
 更新频道回调
 
typedef std::function< void(const QChatChannelUpdateCategoryInfoResp &)> ChannelUpdateCategoryInfoCallback
 更新频道的分组信息回调
 
typedef std::function< void(const QChatChannelGetChannelsResp &)> GetChannelsCallback
 查询频道列表回调
 
typedef std::function< void(const QChatChannelGetChannelsPageResp &)> GetChannelsPageCallback
 分页查询频道列表回调
 
typedef std::function< void(const QChatChannelGetMembersPageResp &)> ChannelGetMembersPageCallback
 分页查询成员列表回调
 
typedef std::function< void(const QChatChannelQueryUnreadInfoResp &)> ChannelQueryUnreadInfoCallback
 查询未读消息数回调
 
typedef std::function< void(const QChatChannelSubscribeResp &)> ChannelSubscribeCallback
 订阅回调
 
typedef std::function< void(const QChatChannelUpdateWhiteBlackRoleResp &)> UpdateWhiteBlackRoleCallback
 更新白/黑名单身份组回调
 
typedef std::function< void(const QChatChannelUpdateWhiteBlackMembersResp &)> UpdateWhiteBlackMembersCallback
 更新白/黑名单成员回调
 
typedef std::function< void(const QChatChannelGetWhiteBlackRolesPageResp &)> GetWhiteBlackRolesPageCallback
 分页查询白/黑名单身份组回调
 
typedef std::function< void(const QChatChannelGetWhiteBlackMembersPageResp &)> GetWhiteBlackMembersPageCallback
 分页查询白/黑名单成员回调
 
typedef std::function< void(const QChatChannelGetExistingWhiteBlackRolesResp &)> GetExistingWhiteBlackRolesCallback
 查询已存在白/黑名单身份组回调
 
typedef std::function< void(const QChatChannelGetExistingWhiteBlackMembersResp &)> GetExistingWhiteBlackMembersCallback
 查询已存在白/黑名单成员回调
 
using ChannelSearchPageCallback = GetChannelsPageCallback
 搜索频道分页回调
 
using ChannelMemberSearchCallback = std::function< void(const QChatChannelMemberSearchResp &)>
 搜索频道成员回调
 
using ChannelCategoryCreateCallback = std::function< void(const QChatChannelCategoryCreateResp &)>
 创建频道分组回调
 
using ChannelCategoryRemoveCallback = std::function< void(const QChatChannelCategoryRemoveResp &)>
 删除频道分组回调
 
using ChannelCategoryUpdateCallback = std::function< void(const QChatChannelCategoryUpdateResp &)>
 更新频道分组回调
 
using ChannelGetCategoriesByIDCallback = std::function< void(const QChatChannelGetCategoriesByIDResp &)>
 根据频道分组ID查询频道分组列表回调
 
using ChannelGetCategoriesPageCallback = std::function< void(const QChatChannelGetCategoriesPageResp &)>
 分页查询频道分组回调
 
using ChannelGetCategoryChannelsPageCallback = std::function< void(const QChatChannelGetCategoryChannelsPageResp &)>
 分页查询指定频道分组中的频道
 
using ChannelCategoryUpdateWhiteBlackRoleCallback = std::function< void(const QChatChannelCategoryUpdateWhiteBlackRoleResp &)>
 更新频道分组白/黑名单身份组
 
using ChannelCategoryGetWhiteBlackRolesPageCallback = std::function< void(const QChatChannelCategoryGetWhiteBlackRolesPageResp &)>
 分页查询频道分组白/黑名单身份组
 
using ChannelCategoryGetExistingWhiteBlackRolesCallback = std::function< void(const QChatChannelCategoryGetExistingWhiteBlackRolesResp &)>
 批量查询频道分组白/黑名单身份组
 
using ChannelCategoryUpdateWhiteBlackMembersCallback = std::function< void(const QChatChannelCategoryUpdateWhiteBlackMembersResp &)>
 更新频道分组白/黑名单成员
 
using ChannelCategoryGetWhiteBlackMembersPageCallback = std::function< void(const QChatChannelCategoryGetWhiteBlackMembersPageResp &)>
 分页查询频道分组白/黑名单成员
 
using ChannelCategoryGetExistingWhiteBlackMembersCallback = std::function< void(const QChatChannelCategoryGetExistingWhiteBlackMembersResp &)>
 批量查询频道分组白/黑名单成员
 
using ChannelUpdateRTCInfoCallback = std::function< void(const QChatChannelUpdateRTCInfoResp &)>
 修改RTC频道参数回调
 
using ChannelGetRTCInfoCallback = std::function< void(const QChatChannelGetRTCInfoResp &)>
 查询RTC频道参数回调
 
using ChannelGetRTCOnlineMembersCallback = std::function< void(const QChatChannelGetRTCOnlineMembersResp &)>
 查询RTC频道在线成员回调
 
typedef std::function< QChatCustomTokenResp(const QChatCustomTokenResp &)> CustomTokenCallback
 获取自定义token回调
 
typedef std::function< void(const QChatKickedResp &)> KickedCallback
 被踢回调
 
typedef std::function< void(const QChatLoginStatusResp &)> LoginStatusCallback
 被踢回调
 
typedef std::function< void(const QChatMultispotLoginResp &)> MultispotLoginCallback
 多点登录回调
 
typedef std::function< void(const QChatSDKLogResp &)> SDKLogCallback
 SDK系统日志回调模板
 
typedef std::function< void(const QChatLoginResp &)> LoginCallback
 登录回调
 
typedef std::function< void(const QChatLogoutResp &)> LogoutCallback
 登出回调
 
typedef std::function< void(const QChatKickResp &)> KickCallback
 踢掉自己其他端回调
 
using GetRTCTokenCallback = std::function< void(const QChatGetRTCTokenResp &)>
 获取RTC频道token回调
 
using QChatReplyMessageResp = QChatSendMessageResp
 
using QChatGetMessagesCacheResp = QChatGetMessagesResp
 
using QChatGetMessageHistoryByIdsResp = QChatGetMessagesResp
 
using QChatGetReferMessagesResp = QChatGetMessagesResp
 
using QChatAddQuickCommentResp = QChatBaseResp
 
using QChatRemoveQuickCommentResp = QChatBaseResp
 
typedef std::function< void(const QChatRecvMsgResp &)> RecvMsgCallback
 接收消息回调
 
typedef std::function< void(const QChatSendMessageResp &)> SendMsgCallback
 发送消息回调
 
typedef std::function< void(const QChatUpdateMessageResp &)> UpdateMsgCallback
 更新消息回调
 
typedef std::function< void(const QChatMsgUpdatedResp &)> MsgUpdatedCallback
 消息更新回调
 
typedef std::function< void(const QChatGetMessagesResp &)> GetMessagesCallback
 查询历史消息回调
 
typedef std::function< void(const QChatGetLastMessagesResp &)> GetLastMessagesCallback
 查询频道最后一条消息回调
 
using GetMessagesCacheCallback = GetMessagesCallback
 本地获取消息回调
 
typedef std::function< void(const QChatMarkMessageReadResp &)> MarkMessageReadCallback
 消息已读标记回调
 
using ReplyMessageCallback = std::function< void(const QChatReplyMessageResp &)>
 回复消息回调
 
using GetMessageHistoryByIdsCallback = GetMessagesCallback
 根据消息 ID 查询消息回调
 
using GetReferMessagesCallback = GetMessagesCallback
 获取关联消息回调
 
using GetThreadMessagesCallback = std::function< void(const QChatGetThreadMessagesResp &)>
 查询Thread消息回调
 
using GetThreadRootMessagesMetaCallback = std::function< void(const QChatGetThreadRootMessagesMetaResp &)>
 查询Thread消息元信息回调
 
using QuickCommentCallback = QChatBaseCallback
 添加快捷回复回调
 
using GetQuickCommentsCallback = std::function< void(const QChatGetQuickCommentsResp &)>
 查询快捷回复回调
 
using MessageSearchPageCallback = std::function< void(const QChatMessageSearchPageResp &)>
 消息分页搜索回调
 
using QChatAddQuickCommentParam = QChatQuickCommentParam< kNIMQChatQuickCommentAdd, NIMQChatAddQuickCommentParam, NIMQChatAddQuickCommentResp >
 
using QChatRemoveQuickCommentParam = QChatQuickCommentParam< kNIMQChatQuickCommentRemove, NIMQChatRemoveQuickCommentParam, NIMQChatRemoveQuickCommentResp >
 
typedef std::function< void(const QChatBaseResp &)> QChatBaseCallback
 通用回调模板
 
using QChatPermission = std::map< uint32_t, NIMQChatPermissionsOption >
 
using QChatDeleteServerRoleResp = QChatBaseResp
 
using QChatUpdateServerRolePrioritiesResp = QChatGetServerRolesResp
 
using QChatRemoveMembersFromServerRoleResp = QChatAddMembersToServerRoleResp
 
using QChatUpdateChannelRoleResp = QChatAddChannelRoleResp
 
using QChatRemoveChannelRoleResp = QChatBaseResp
 
using QChatUpdateChannelCategoryRoleResp = QChatAddChannelCategoryRoleResp
 
using QChatRemoveChannelCategoryRoleResp = QChatBaseResp
 
using QChatUpdateMemberRoleResp = QChatAddMemberRoleResp
 
using QChatRemoveMemberRoleResp = QChatBaseResp
 
using QChatUpdateChannelCategoryMemberRoleResp = QChatAddChannelCategoryMemberRoleResp
 
using QChatRemoveChannelCategoryMemberRoleResp = QChatBaseResp
 
using QChatGetRolesByAccidResp = QChatGetServerRolesResp
 
using QChatGetExistingChannelRolesByServerRoleIdsResp = QChatGetChannelRolesResp
 
using QChatGetExistingAccidsInServerRoleResp = QChatGetExistingAccidsOfMemberRolesResp
 
using QChatCreateServerRoleCallback = std::function< void(const QChatCreateServerRoleResp &)>
 
using QChatUpdateServerRoleCallback = std::function< void(const QChatUpdateServerRoleResp &)>
 
using QChatBatchUpdateServerRolePrioritiesCallback = std::function< void(const QChatUpdateServerRolePrioritiesResp &)>
 
using QChatDeleteServerRoleCallback = QChatBaseCallback
 
using QChatGetServerRolesCallback = std::function< void(const QChatGetServerRolesResp &)>
 
using QChatAddMembersToServerRoleCallback = std::function< void(const QChatAddMembersToServerRoleResp &)>
 
using QChatRemoveMembersFromServerRoleCallback = std::function< void(const QChatRemoveMembersFromServerRoleResp &)>
 
using QChatGetMembersFromServerRoleCallback = std::function< void(const QChatGetMembersFromServerRoleResp &)>
 
using QChatAddChannelRoleCallback = std::function< void(const QChatAddChannelRoleResp &)>
 
using QChatUpdateChannelRoleCallback = std::function< void(const QChatUpdateChannelRoleResp &)>
 
using QChatRemoveChannelRoleCallback = QChatBaseCallback
 
using QChatGetChannelRolesCallback = std::function< void(const QChatGetChannelRolesResp &)>
 
using QChatAddMemberRoleCallback = std::function< void(const QChatAddMemberRoleResp &)>
 
using QChatUpdateMemberRoleCallback = std::function< void(const QChatUpdateMemberRoleResp &)>
 
using QChatRemoveMemberRoleCallback = QChatBaseCallback
 
using QChatGetMemberRoleInChannelCallback = std::function< void(const QChatGetMemberRolesResp &)>
 
using QChatGetRolesByMemberIdCallback = std::function< void(const QChatGetRolesByAccidResp &)>
 
using QChatGetRolesByMemberIdsCallback = std::function< void(const QChatGetExistingServerRolesByAccidsResp &)>
 
using QChatGetExistingRolesInChannelCallback = std::function< void(const QChatGetExistingChannelRolesByServerRoleIdsResp &)>
 
using QChatGetExistingAccidsOfMemberRolesCallback = std::function< void(const QChatGetExistingAccidsOfMemberRolesResp &)>
 
using QChatGetExistingAccidsInServerRoleCallback = std::function< void(const QChatGetExistingAccidsInServerRoleResp &)>
 
using QChatCheckPermissionCallback = std::function< void(const QChatCheckPermissionResp &)>
 
using QChatCheckPermissionsCallback = std::function< void(const QChatCheckPermissionsResp &)>
 
using QChatAddChannelCategoryRoleCallback = std::function< void(const QChatAddChannelCategoryRoleResp &)>
 
using QChatUpdateChannelCategoryRoleCallback = std::function< void(const QChatUpdateChannelCategoryRoleResp &)>
 
using QChatRemoveChannelCategoryRoleCallback = QChatBaseCallback
 
using QChatGetChannelCategoryRolesPageCallback = std::function< void(const QChatGetChannelCategoryRolesPageResp &)>
 
using QChatAddChannelCategoryMemberRoleCallback = std::function< void(const QChatAddChannelCategoryMemberRoleResp &)>
 
using QChatUpdateChannelCategoryMemberRoleCallback = std::function< void(const QChatUpdateChannelCategoryMemberRoleResp &)>
 
using QChatRemoveChannelCategoryMemberRoleCallback = QChatBaseCallback
 
using QChatGetChannelCategoryMemberRolesPageCallback = std::function< void(const QChatGetChannelCategoryMemberRolesPageResp &)>
 
using QChatServerDeleteResp = QChatBaseResp
 
using QChatServerUpdateResp = QChatServerCreateResp
 
using QChatServerAcceptInviteResp = QChatBaseResp
 
using QChatServerRejectInviteResp = QChatBaseResp
 
using QChatServerAcceptApplyResp = QChatBaseResp
 
using QChatServerRejectApplyResp = QChatBaseResp
 
using QChatServerKickResp = QChatBaseResp
 
using QChatServerLeaveResp = QChatBaseResp
 
using QChatServerUpdateMemberInfoResp = QChatBaseResp
 
using QChatServerBanMemberResp = QChatBaseResp
 
using QChatServerUnbanMemberResp = QChatBaseResp
 
using QChatServerSearchPageResp = QChatServerGetServersPageResp
 
using QChatServerMemberSearchResp = QChatServerGetMembersResp
 
using QChatServerJoinByInviteCodeResp = QChatBaseResp
 
using QChatServerGetInviteApplyRecordOfSelfResp = QChatServerGetInviteApplyRecordOfServerResp
 
using ServerUnreadCallback = std::function< void(const QChatServerUnreadResp &)>
 未读数回调
 
typedef std::function< void(const QChatServerCreateResp &)> ServerCreateCallback
 创建服务器回调
 
typedef std::function< void(const QChatServerDeleteResp &)> ServerRemoveCallback
 删除服务器回调
 
typedef std::function< void(const QChatServerUpdateResp &)> ServerUpdateCallback
 更新服务器回调
 
typedef std::function< void(const QChatServerGetServersResp &)> GetServersCallback
 查询服务器列表回调
 
typedef std::function< void(const QChatServerGetServersPageResp &)> GetServersPageCallback
 查询服务器列表分页回调
 
typedef std::function< void(const QChatServerInviteResp &)> ServerInviteCallback
 邀请用户加入服务器回调
 
typedef std::function< void(const QChatServerAcceptInviteResp &)> ServerAcceptInviteCallback
 接受邀请加入服务器回调
 
typedef std::function< void(const QChatServerRejectInviteResp &)> ServerRejectInviteCallback
 拒绝邀请加入服务器回调
 
typedef std::function< void(const QChatServerApplyResp &)> ServerApplyCallback
 申请加入服务器回调
 
typedef std::function< void(const QChatServerAcceptApplyResp &)> ServerAcceptApplyCallback
 接受申请加入服务器回调
 
typedef std::function< void(const QChatServerRejectApplyResp &)> ServerRejectApplyCallback
 拒绝申请加入服务器回调
 
typedef std::function< void(const QChatServerKickResp &)> ServerKickCallback
 踢出服务器回调
 
typedef std::function< void(const QChatServerLeaveResp &)> ServerLeaveCallback
 离开服务器回调
 
typedef std::function< void(const QChatServerUpdateMemberInfoResp &)> ServerUpdateMemberInfoCallback
 更新服务器成员信息回调
 
typedef std::function< void(const QChatServerGetMembersResp &)> ServerGetMembersCallback
 查询服务器成员列表回调
 
typedef std::function< void(const QChatServerGetMembersPageResp &)> ServerGetMembersPageCallback
 查询服务器成员列表分页回调
 
typedef std::function< void(const QChatServerSubscribeResp &)> ServerSubscribeCallback
 订阅回调
 
typedef std::function< void(const QChatServerBanMemberResp &)> ServerBanMemberCallback
 封禁成员回调
 
typedef std::function< void(const QChatServerUnbanMemberResp &)> ServerUnbanMemberCallback
 解封成员回调
 
typedef std::function< void(const QChatServerGetBannedMembersPageResp &)> ServerGetBannedMembersPageCallback
 查询服务器成员封禁列表分页回调
 
using ServerSearchPageCallback = GetServersPageCallback
 搜索服务器分页回调
 
using ServerMemberSearchCallback = ServerGetMembersCallback
 搜索服务器成员分页回调
 
using ServerGenerateInviteCodeCallback = std::function< void(const QChatServerGenerateInviteCodeResp &)>
 生成邀请码回调
 
using ServerJoinByInviteCodeCallback = std::function< void(const QChatServerJoinByInviteCodeResp &)>
 通过邀请码加入回调
 
using ServerGetInviteApplyRecordOfServerCallback = std::function< void(const QChatServerGetInviteApplyRecordOfServerResp &)>
 查询服务器下的申请邀请记录回调
 
using ServerGetInviteApplyRecordOfSelfCallback = std::function< void(const QChatServerGetInviteApplyRecordOfSelfResp &)>
 查询自己的申请邀请记录回调
 
using ServerMarkReadCallback = std::function< void(const QChatServerMarkReadResp &)>
 服务器标记已读
 
using ServerSubscribeAllChannelCallback = std::function< void(const QChatServerSubscribeAllChannelResp &)>
 订阅所有频道
 
using QChatSystemNotificationDataChannelCategoryUpdate = QChatSystemNotificationDataChannelCategoryCreate
 
using QChatSystemNotificationDataServerRoleRemoveMember = QChatSystemNotificationDataServerRoleAddMember
 
using QChatMarkReadSystemNotificationResp = QChatBaseResp
 
using QChatMarkSystemNotificationsReadResp = QChatBaseResp
 
typedef std::function< void(const QChatRecvSystemNotificationResp &)> RecvSystemNotificationCallback
 接收系统消息回调
 
typedef std::function< void(const QChatSendSystemNotificationResp &)> SendSystemNotificationCallback
 发送系统消息回调
 
typedef std::function< void(const QChatSystemNotificationUpdatedResp &)> SystemNotificationUpdatedCallback
 消息更新回调
 
typedef std::function< void(const QChatUpdateSystemNotificationResp &)> UpdateSystemNotificationCallback
 更新系统通知回调
 
typedef std::function< void(const QChatMarkSystemNotificationsReadResp &)> MarkReadSystemNotificationCallback
 标记系统通知消息已读回调函数
 
typedef std::function< void(const QChatRecvTypingEventResp &)> RecvTypingEventCallback
 接收圈组正在输入事件回调
 
typedef std::function< void(const QChatSendTypingEventResp &)> SendTypingEventCallback
 发送圈组正在输入事件回调
 

Functions

template<typename CPP_TYPE , typename C_TYPE >
static std::shared_ptr< QChatSystemNotificationDataBaseMsgDataCPPToC (void *c_msg_data)
 

Variables

static SDKLogCallback g_sdk_log_cb = nullptr
 
nim::SDKInstancenim_qchat_sdk_instance = nullptr
 
static const char * kNIMQChatWidth = "w"
 
static const char * kNIMQChatHeight = "h"
 
static const char * kNIMQChatDuration = "dur"
 
static const char * kNIMQChatLatitude = "lat"
 
static const char * kNIMQChatLongitude = "lng"
 
static const char * kNIMQChatTitle = "title"
 
static const char * kNIMQChatFilePath = "file_path"
 
static const char * kNIMQChatURL = "url"
 
static const char * kNIMQChatMD5 = "md5"
 
static const char * kNIMQChatName = "name"
 
static const char * kNIMQChatExt = "ext"
 
static const char * kNIMQChatID = "id"
 
static const char * kNIMQChatType = "type"
 
static const char * kNIMQChatData = "data"
 
static std::map< NIMQChatSystemNotificationType, std::function< std::shared_ptr< QChatSystemNotificationDataBase >(void *)> > msg_data_transform_map_
 

Detailed Description

namespace nim_qchat

圈组