NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
v2 命名空间参考

命名空间

namespace  internal
 

class  DataStructureConverter
 数据结构转换工具 更多...
 
struct  V2NIMAddCollectionParams
 
struct  V2NIMAIListener
 
struct  V2NIMAIModelCallContent
 调用大模型的请求内容 更多...
 
struct  V2NIMAIModelCallMessage
 
struct  V2NIMAIModelCallResult
 
struct  V2NIMAIModelConfig
 
struct  V2NIMAIModelConfigParams
 
class  V2NIMAIService
 AI 数字人服务 更多...
 
struct  V2NIMAIUser
 
struct  V2NIMAntispamConfig
 
struct  V2NIMBasicOption
 
struct  V2NIMBroadcastNotification
 
struct  V2NIMChatroomCdnInfo
 
struct  V2NIMChatroomChatBannedNotificationAttachment
 
class  V2NIMChatroomClient
 
struct  V2NIMChatroomClientListener
 
struct  V2NIMChatroomEnterInfo
 
struct  V2NIMChatroomEnterParams
 
struct  V2NIMChatroomEnterResult
 
struct  V2NIMChatroomInfo
 
struct  V2NIMChatroomKickedInfo
 
struct  V2NIMChatroomListener
 
struct  V2NIMChatroomLocationConfig
 
struct  V2NIMChatroomLoginOption
 
struct  V2NIMChatroomMember
 
struct  V2NIMChatroomMemberEnterNotificationAttachment
 
struct  V2NIMChatroomMemberListResult
 
struct  V2NIMChatroomMemberQueryOption
 
struct  V2NIMChatroomMemberRoleUpdateAttachment
 
struct  V2NIMChatroomMemberRoleUpdateParams
 
struct  V2NIMChatroomMessage
 
struct  V2NIMChatroomMessageConfig
 
class  V2NIMChatroomMessageCreator
 聊天室消息创建器 更多...
 
struct  V2NIMChatRoomMessageCustomAttachmentParser
 聊天室自定义消息附件解析器 更多...
 
struct  V2NIMChatroomMessageListOption
 
struct  V2NIMChatroomMessageRevokeNotificationAttachment
 
struct  V2NIMChatroomNotificationAttachment
 
struct  V2NIMChatroomQueueNotificationAttachment
 
struct  V2NIMChatroomQueueOfferParams
 
struct  V2NIMChatroomSelfMemberUpdateParams
 
class  V2NIMChatroomService
 聊天室服务 更多...
 
struct  V2NIMChatroomTagConfig
 
struct  V2NIMChatroomTagMemberOption
 
struct  V2NIMChatroomTagMessageOption
 
struct  V2NIMChatroomTagsUpdateParams
 
struct  V2NIMChatroomTagTempChatBannedParams
 
struct  V2NIMChatroomUpdateParams
 
struct  V2NIMClearHistoryMessageOption
 
struct  V2NIMClearHistoryNotification
 
class  V2NIMClient
 
struct  V2NIMClientAntispamResult
 
struct  V2NIMClientAntispamThesaurus
 
struct  V2NIMClientAntispamThesaurusItem
 
class  V2NIMClientAntispamUtil
 本地反垃圾工具 更多...
 
struct  V2NIMCollection
 
struct  V2NIMCollectionOption
 
struct  V2NIMConversation
 
struct  V2NIMConversationFilter
 
struct  V2NIMConversationGroup
 
struct  V2NIMConversationGroupListener
 
struct  V2NIMConversationGroupResult
 
class  V2NIMConversationGroupService
 会话分组服务 更多...
 
class  V2NIMConversationIdUtil
 会话ID工具 更多...
 
struct  V2NIMConversationListener
 
struct  V2NIMConversationOperationResult
 
struct  V2NIMConversationOption
 
struct  V2NIMConversationResult
 
class  V2NIMConversationService
 会话服务 更多...
 
struct  V2NIMConversationUpdate
 
struct  V2NIMCreateTeamParams
 
struct  V2NIMCreateTeamResult
 
struct  V2NIMCustomNotification
 
struct  V2NIMCustomUserStatusParams
 自定义用户状态参数 更多...
 
struct  V2NIMCustomUserStatusPublishResult
 自定义用户状态发布结果 更多...
 
struct  V2NIMDatabaseOption
 
struct  V2NIMDataSyncDetail
 
struct  V2NIMDndConfig
 
struct  V2NIMDownloadMessageAttachmentParams
 下载消息附件资源请求参数 更多...
 
struct  V2NIMError
 
struct  V2NIMFCSOption
 
struct  V2NIMFriend
 
struct  V2NIMFriendAddApplication
 
struct  V2NIMFriendAddApplicationQueryOption
 
struct  V2NIMFriendAddApplicationResult
 
struct  V2NIMFriendAddParams
 
struct  V2NIMFriendDeleteParams
 
struct  V2NIMFriendListener
 
struct  V2NIMFriendSearchOption
 
class  V2NIMFriendService
 好友服务 更多...
 
struct  V2NIMFriendSetParams
 
struct  V2NIMGetMediaResourceInfoResult
 
struct  V2NIMInitOption
 
struct  V2NIMKickedOfflineDetail
 
struct  V2NIMLastMessage
 
struct  V2NIMLinkOption
 
struct  V2NIMLocationInfo
 
struct  V2NIMLoginClient
 
struct  V2NIMLoginDetailListener
 
struct  V2NIMLoginListener
 
struct  V2NIMLoginOption
 
class  V2NIMLoginService
 登录服务 更多...
 
struct  V2NIMMessage
 
struct  V2NIMMessageAIConfig
 
struct  V2NIMMessageAIConfigParams
 
struct  V2NIMMessageAIModelCallParams
 
struct  V2NIMMessageAntispamConfig
 
struct  V2NIMMessageAttachment
 
class  V2NIMMessageAttachmentCreator
 
struct  V2NIMMessageAudioAttachment
 
struct  V2NIMMessageCallAttachment
 
struct  V2NIMMessageCallDuration
 话单消息通话时长描述信息 更多...
 
struct  V2NIMMessageClientAntispamResult
 
struct  V2NIMMessageConfig
 
class  V2NIMMessageConverter
 
class  V2NIMMessageCreator
 IM 消息创建器 更多...
 
struct  V2NIMMessageCustomAttachment
 自定义消息附件 更多...
 
struct  V2NIMMessageCustomAttachmentParser
 自定义消息附件解析器 更多...
 
struct  V2NIMMessageDeletedNotification
 
struct  V2NIMMessageFileAttachment
 
struct  V2NIMMessageImageAttachment
 
struct  V2NIMMessageListener
 
struct  V2NIMMessageListOption
 
struct  V2NIMMessageLocationAttachment
 
struct  V2NIMMessagePin
 
struct  V2NIMMessagePinNotification
 
struct  V2NIMMessagePushConfig
 
struct  V2NIMMessageQueryTime
 
struct  V2NIMMessageQuickComment
 
struct  V2NIMMessageQuickCommentNotification
 
struct  V2NIMMessageQuickCommentPushConfig
 
struct  V2NIMMessageRefer
 
struct  V2NIMMessageRevokeNotification
 
struct  V2NIMMessageRevokeParams
 
struct  V2NIMMessageRobotConfig
 
struct  V2NIMMessageRouteConfig
 
struct  V2NIMMessageSearchParams
 
class  V2NIMMessageService
 消息服务 更多...
 
struct  V2NIMMessageStatus
 
struct  V2NIMMessageTargetConfig
 群组定向消息数据结构 更多...
 
struct  V2NIMMessageTeamNotificationAttachment
 
struct  V2NIMMessageVideoAttachment
 
struct  V2NIMModifyMessageParams
 
struct  V2NIMModifyMessageResult
 
struct  V2NIMNotificationAntispamConfig
 
struct  V2NIMNotificationConfig
 
struct  V2NIMNotificationListener
 
struct  V2NIMNotificationPushConfig
 
struct  V2NIMNotificationRouteConfig
 
class  V2NIMNotificationService
 通知服务 更多...
 
struct  V2NIMP2PMessageReadReceipt
 
struct  V2NIMPrivateServerOption
 
struct  V2NIMProxyAICallAntispamConfig
 
struct  V2NIMProxyAIModelCallParams
 AI 数字人代理请求参数 更多...
 
struct  V2NIMSendChatroomMessageParams
 
struct  V2NIMSendChatroomMessageResult
 
struct  V2NIMSendCustomNotificationParams
 
struct  V2NIMSendMessageParams
 
struct  V2NIMSendMessageResult
 
struct  V2NIMSettingListener
 
class  V2NIMSettingService
 通知服务 更多...
 
struct  V2NIMSignallingAcceptInviteParams
 拒绝别人邀请加入信令房间请求参数 更多...
 
struct  V2NIMSignallingCallParams
 信令呼叫参数 更多...
 
struct  V2NIMSignallingCallResult
 呼叫回包 更多...
 
struct  V2NIMSignallingCallSetupParams
 呼叫建立请求参数,包括接收方进入频道房间相关信息,以及接受方需要的相关音视频房间信息 更多...
 
struct  V2NIMSignallingCallSetupResult
 接受呼叫请求回包 更多...
 
struct  V2NIMSignallingCancelInviteParams
 取消之前的邀请成员加入信令房间请求参数 更多...
 
struct  V2NIMSignallingChannelInfo
 信令频道信息 更多...
 
struct  V2NIMSignallingConfig
 
struct  V2NIMSignallingEvent
 信令事件 更多...
 
struct  V2NIMSignallingInviteParams
 邀请成员加入信令房间请求参数 更多...
 
struct  V2NIMSignallingJoinParams
 加入信令房间请求参数 更多...
 
struct  V2NIMSignallingListener
 
struct  V2NIMSignallingMember
 信令房间用户信息 更多...
 
struct  V2NIMSignallingPushConfig
 消息推送相关配置 更多...
 
struct  V2NIMSignallingRejectInviteParams
 拒绝别人邀请加入信令房间请求参数 更多...
 
struct  V2NIMSignallingRoomInfo
 信令房间相关信息 更多...
 
struct  V2NIMSignallingRtcConfig
 音视频相关配置 更多...
 
struct  V2NIMSignallingRtcInfo
 
class  V2NIMSignallingService
 信令服务 更多...
 
struct  V2NIMSize
 
struct  V2NIMStorageScene
 
class  V2NIMStorageService
 存储服务 更多...
 
class  V2NIMStorageUtil
 
struct  V2NIMSubscribeListener
 
struct  V2NIMSubscribeUserStatusOption
 事件订阅选项 更多...
 
class  V2NIMSubscriptionService
 
class  V2NIMSuccessCallback
 通用成功 更多...
 
class  V2NIMSuccessCallback< void >
 
struct  V2NIMTeam
 
struct  V2NIMTeamJoinActionInfo
 
struct  V2NIMTeamJoinActionInfoQueryOption
 
struct  V2NIMTeamJoinActionInfoResult
 
struct  V2NIMTeamListener
 
struct  V2NIMTeamMember
 
struct  V2NIMTeamMemberListResult
 
struct  V2NIMTeamMemberQueryOption
 
struct  V2NIMTeamMemberSearchOption
 
struct  V2NIMTeamMemberUpdateParams
 
struct  V2NIMTeamMessageReadReceipt
 
struct  V2NIMTeamMessageReadReceiptDetail
 
class  V2NIMTeamService
 群组服务 更多...
 
struct  V2NIMThreadMessageListOption
 
struct  V2NIMThreadMessageListResult
 
struct  V2NIMUnsubscribeUserStatusOption
 取消订阅选项 更多...
 
struct  V2NIMUpdatedTeamInfo
 群组信息更新信息 更多...
 
struct  V2NIMUpdateSelfMemberInfoParams
 
struct  V2NIMUpdateTeamInfoParams
 
struct  V2NIMUploadFileParams
 
struct  V2NIMUploadFileTask
 
struct  V2NIMUser
 
struct  V2NIMUserInfoConfig
 
struct  V2NIMUserListener
 
struct  V2NIMUserSearchOption
 用户搜索选项 更多...
 
class  V2NIMUserService
 用户资料服务 更多...
 
struct  V2NIMUserStatus
 事件订阅用户状态 更多...
 
struct  V2NIMUserStatusSubscribeResult
 用户状态订阅结果 更多...
 
struct  V2NIMUserUpdateParams
 
struct  V2NIMVoiceToTextParams
 

类型定义

using V2NIMFailureCallback = nstd::function<void(const V2NIMError& error)>
 通用失败
 
using V2NIMProgressCallback = nstd::function<void(uint32_t progress)>
 通用进度
 
using V2NIMReconnectDelayProvider = nstd::function<uint32_t(uint32_t defaultDelay)>
 获取重连延时
 
using V2NIMTokenProvider = nstd::function<nstd::optional<nstd::string>(nstd::string accountId)>
 动态 token 获取回调
 
using V2NIMLoginExtensionProvider = nstd::function<nstd::optional<nstd::string>(nstd::string accountId)>
 登陆扩展信息获取回调
 
using V2NIMChatroomTokenProvider = nstd::function<nstd::optional<nstd::string>(nstd::string roomId, nstd::string account)>
 聊天室 token 获取回调
 
using V2NIMChatroomLoginExtensionProvider = nstd::function<nstd::optional<nstd::string>(nstd::string roomId, nstd::string account)>
 聊天室登陆扩展信息获取回调
 
using V2NIMChatroomLinkProvider = nstd::function<nstd::vector<nstd::string>(nstd::string roomId, nstd::string account)>
 聊天室 link 获取回调
 

枚举

enum  V2NIMErrorCode {
  V2NIM_ERROR_CODE_UNKNOWN = 0 , V2NIM_ERROR_CODE_SUCCESS = 200 , V2NIM_ERROR_CODE_HANDSHAKE = 201 , V2NIM_ERROR_CODE_ASYMMETRIC_ENCRYPTION_ALGORITHM = 202 ,
  V2NIM_ERROR_CODE_SYMMETRIC_ENCRYPTION_ALGORITHM = 203 , V2NIM_ERROR_CODE_HANDSHAKE_PROTOCOL_VERSION_NEED_FALLBACK = 204 , V2NIM_ERROR_CODE_REQUEST_TEMPORARY_FORBIDDEN = 398 , V2NIM_ERROR_CODE_SERVER_UNIT_ERROR = 399 ,
  V2NIM_ERROR_CODE_FORBIDDEN = 403 , V2NIM_ERROR_CODE_NOT_FOUND = 404 , V2NIM_ERROR_CODE_PARAMETER_ERROR = 414 , V2NIM_ERROR_CODE_RATE_LIMIT = 416 ,
  V2NIM_ERROR_CODE_MULTI_LOGIN_FORBIDDEN = 417 , V2NIM_ERROR_CODE_NEED_RETRY = 449 , V2NIM_ERROR_CODE_CALLBACK_FORBIDDEN = 463 , V2NIM_ERROR_CODE_SERVER_INTERNAL_ERROR = 500 ,
  V2NIM_ERROR_CODE_SERVER_BUSY = 503 , V2NIM_ERROR_CODE_APP_UNREACHABLE = 511 , V2NIM_ERROR_CODE_SERVICE_UNAVAILABLE = 514 , V2NIM_ERROR_CODE_PROTOCOL_BLACKHOLE_FILTERED = 599 ,
  V2NIM_ERROR_CODE_NO_PERMISSION = 997 , V2NIM_ERROR_CODE_UNPACK_ERROR = 998 , V2NIM_ERROR_CODE_PACK_ERROR = 999 , V2NIM_ERROR_CODE_IM_DISABLED = 101301 ,
  V2NIM_ERROR_CODE_SERVICE_ADDRESS_INVALID = 101302 , V2NIM_ERROR_CODE_APPKEY_NOT_EXIST = 101303 , V2NIM_ERROR_CODE_BUNDLEID_CHECK_FAILED = 101304 , V2NIM_ERROR_CODE_ILLEGAL_AUTH_TYPE = 101305 ,
  V2NIM_ERROR_CODE_ACCOUNT_NOT_EXIST = 102404 , V2NIM_ERROR_CODE_ACCOUNT_ALREADY_EXIST = 102405 , V2NIM_ERROR_CODE_ACCOUNT_CHAT_BANNED = 102421 , V2NIM_ERROR_CODE_ACCOUNT_BANNED = 102422 ,
  V2NIM_ERROR_CODE_ACCOUNT_IN_BLOCK_LIST = 102426 , V2NIM_ERROR_CODE_ACCOUNT_COUNT_LIMIT = 102434 , V2NIM_ERROR_CODE_ACCOUNT_OPERATION_NEED_RETRY = 102449 , V2NIM_ERROR_CODE_LOGIN_RECORD_NOT_FOUND = 102301 ,
  V2NIM_ERROR_CODE_INVALID_TOKEN = 102302 , V2NIM_ERROR_CODE_ROBOT_NOT_ALLOWED = 102303 , V2NIM_ERROR_CODE_USER_PROFILE_NOT_EXIST = 103404 , V2NIM_ERROR_CODE_USER_PROFILE_HIT_ANTISPAM = 103451 ,
  V2NIM_ERROR_CODE_PEER_FRIEND_LIMIT = 104301 , V2NIM_ERROR_CODE_FRIEND_APPLICATION_NOT_EXIST = 104302 , V2NIM_ERROR_CODE_FRIEND_NOT_EXIST = 104404 , V2NIM_ERROR_CODE_FRIEND_ALREADY_EXIST = 104405 ,
  V2NIM_ERROR_CODE_SELF_FRIEND_OPERATION_NOT_ALLOWED = 104429 , V2NIM_ERROR_CODE_FRIEND_LIMIT = 104435 , V2NIM_ERROR_CODE_FRIEND_OPERATION_RATE_LIMIT = 104449 , V2NIM_ERROR_CODE_FRIEND_HIT_ANTISPAM = 104451 ,
  V2NIM_ERROR_CODE_MUTE_LIST_LIMIT = 105435 , V2NIM_ERROR_CODE_SELF_MUTE_OPERATION_NOT_ALLOWED = 105429 , V2NIM_ERROR_CODE_BLOCKLIST_LIMIT = 106435 , V2NIM_ERROR_CODE_SELF_BLOCKLIST_OPERATION_NOT_ALLOWED = 106429 ,
  V2NIM_ERROR_CODE_MESSAGING_FUNCTION_DISABLED = 107410 , V2NIM_ERROR_CODE_MESSAGE_HIT_ANTISPAM = 107451 , V2NIM_ERROR_CODE_MESSAGE_NOT_EXIST = 107404 , V2NIM_ERROR_CODE_REVOKE_MESSAGE_TO_SELF_NOT_ALLOWED = 107429 ,
  V2NIM_ERROR_CODE_INVALID_TIME_RANGE = 107439 , V2NIM_ERROR_CODE_REVOKE_THIRD_PARTY_MESSAGE_NOT_ALLOWED = 107301 , V2NIM_ERROR_CODE_TEAM_MARK_READ_FAILED = 107302 , V2NIM_ERROR_CODE_SENDER_OR_MANAGER_PERMISSION_ONLY_REVOKE = 107303 ,
  V2NIM_ERROR_CODE_HIGH_PRIORITY_MESSAGE_RATE_LIMIT = 107304 , V2NIM_ERROR_CODE_ACK_MESSAGE_BE_HIGH_PRIORITY = 107305 , V2NIM_ERROR_CODE_DUPLICATE_CLIENT_MESSAGE_ID = 107306 , V2NIM_ERROR_CODE_SHORT_TO_LONG_URL_FAILED = 107307 ,
  V2NIM_ERROR_CODE_URL_INVALID = 107308 , V2NIM_ERROR_CODE_DURATION_OUT_OF_RANGE = 107309 , V2NIM_ERROR_CODE_GET_FILE_META_INFO_FAILED = 107310 , V2NIM_ERROR_CODE_AUDIO_FILE_SIZE_LIMIT = 107311 ,
  V2NIM_ERROR_CODE_VOICE_TO_TEXT_TIMEOUT = 107312 , V2NIM_ERROR_CODE_VOICE_TO_TEXT_FAILED = 107313 , V2NIM_ERROR_CODE_REVOKE_EXCEED_TIME_LIMIT = 107314 , V2NIM_ERROR_CODE_REVOKE_MESSAGE_NOT_ALLOWED = 107315 ,
  V2NIM_ERROR_CODE_FORCE_PUSH_LIST_LIMIT = 107316 , V2NIM_ERROR_CODE_TEAM_MESSAGE_RECEIPT_RATE_LIMIT = 107317 , V2NIM_ERROR_CODE_SNAPSHOT_NOT_EXIST = 107318 , V2NIM_ERROR_CODE_PIN_LIMIT = 107319 ,
  V2NIM_ERROR_CODE_PIN_NOT_EXIST = 107320 , V2NIM_ERROR_CODE_QUICK_COMMENT_LIMIT = 107321 , V2NIM_ERROR_CODE_PIN_ALREADY_EXIST = 107322 , V2NIM_ERROR_CODE_RATE_LIMIT_FOR_MESSAGING_REACHED = 107323 ,
  V2NIM_ERROR_CODE_TEAM_READ_RECEIPT_FUNCTION_DISABLED = 107324 , V2NIM_ERROR_CODE_P2P_READ_RECEIPT_FUNCTION_DISABLED = 107325 , V2NIM_ERROR_CODE_QUICK_COMMENT_FUNCTION_DISABLED = 107326 , V2NIM_ERROR_CODE_PIN_FUNCTION_DISABLED = 107327 ,
  V2NIM_ERROR_CODE_DELETE_SELF_MESSAGE_NOT_ALLOWED = 107328 , V2NIM_ERROR_CODE_NOT_CHATBOT_ACCOUNT = 107329 , V2NIM_ERROR_CODE_MESSAGE_SENSE_REQUIRED = 107330 , V2NIM_ERROR_CODE_TEAM_MESSAGE_READ_RECEIPT_DISABLED = 107331 ,
  V2NIM_ERROR_CODE_TEAM_READ_RECEIPT_RECORD_NOT_FOUND = 107332 , V2NIM_ERROR_CODE_VOICE_TO_TEXT_FUNCTION_DISABLED = 107333 , V2NIM_ERROR_CODE_SERVER_SEARCH_FUNCTION_DISABLED = 107334 , V2NIM_ERROR_CODE_ONEWAY_DELETE_FUNCTION_DISABLED = 107335 ,
  V2NIM_ERROR_CODE_DONT_ACTIVATE_UPDATE_MESSAGE = 107341 , V2NIM_ERROR_CODE_DONT_ALLOW_UPDATE_MESSAGE_TYPE = 107342 , V2NIM_ERROR_CODE_DONT_ALLOW_UPDATE_MESSAGE_PARAMETER = 107343 , V2NIM_ERROR_CODE_DONT_ALLOW_UPDATE_MESSAGE = 107344 ,
  V2NIM_ERRPR_CODE_ONEWAY_DELETION_NOT_ALLOW_FOR_TARGET_MESSAGES = 107338 , V2NIM_ERRPR_CODE_SENDER_CANNOT_INCLUDED_IN_TARGET_LIST = 107339 , V2NIM_ERROR_CODE_ROBOT_CANNOT_SEND_TARGET_MESSAGE = 107340 , V2NIM_ERROR_CODE_PIN_TARGET_MESSAGE_NOT_ALLOWED = 107345 ,
  V2NIM_ERROR_CODE_TARGET_MESSAGE_NOT_ALLOWED_REPLY = 107346 , V2NIM_ERROR_CODE_TARGET_MESSAGE_NOT_ALLOWED_QUICK_COMMENT = 107347 , V2NIM_ERROR_CODE_TEAM_NOT_EXIST = 108404 , V2NIM_ERROR_CODE_GET_ONLINE_USERS_COUNT_DISABLED = 108406 ,
  V2NIM_ERROR_CODE_ALL_TEAM_MEMBERS_CHAT_BANNED = 108423 , V2NIM_ERROR_CODE_ASSIGN_TEAM_OWNER_MANAGER_ROLE_NOT_ALLOWED = 108430 , V2NIM_ERROR_CODE_EXTENDED_SUPER_TEAM_LIMIT = 108434 , V2NIM_ERROR_CODE_CREATED_TEAM_LIMIT = 108435 ,
  V2NIM_ERROR_CODE_TEAM_INVITATION_LIMIT = 108437 , V2NIM_ERROR_CODE_TEAM_HIT_ANTISPAM = 108451 , V2NIM_ERROR_CODE_TEAM_OPERATION_NEED_RETRY = 108449 , V2NIM_ERROR_CODE_NOT_ADVANCED_TEAM = 108302 ,
  V2NIM_ERROR_CODE_TEAM_MANAGER_LIMIT = 108303 , V2NIM_ERROR_CODE_EXTENDED_SUPER_TEAM_LIMIT_NOT_CONFIGURED = 108304 , V2NIM_ERROR_CODE_JOINED_TEAM_LIMIT = 108305 , V2NIM_ERROR_CODE_TEAM_NORMAL_MEMBER_CHAT_BANNED = 108306 ,
  V2NIM_ERROR_CODE_INVITED_ACCOUNT_NOT_FRIEND = 108307 , V2NIM_ERROR_CODE_REJECT_ALL_TEAM_APPLICATIONS = 108308 , V2NIM_ERROR_CODE_TEAM_MEMBERS_COUNT_LIMIT = 108309 , V2NIM_ERROR_CODE_OPERATOR_ALREADY_OWN_TEAM = 108310 ,
  V2NIM_ERROR_CODE_SUPER_TEAM_SERVICE_DISABLED = 108311 , V2NIM_ERROR_CODE_CREATE_EXTENDED_SUPER_TEAM_NOT_ALLOWED = 108313 , V2NIM_ERROR_CODE_TEAM_PER_QUERY_LIMIT = 108314 , V2NIM_ERROR_CODE_TARGETING_MESSAGE_FOR_TEAM_DISABLED = 108318 ,
  V2NIM_ERROR_CODE_INCLUSIVE_AS_FALSE_NOT_ALLOWED_FOR_SUPER_TEAM = 108319 , V2NIM_ERROR_CODE_CANNOT_MAKE_SUPER_TEAM_MESSAGE_VISIBLE_TO_NEW_MEMBERS = 108320 , V2NIM_ERROR_CODE_CANNOT_ALLOW_TARGETED_MESSAGES_INCLUSIVE_TO_NEW_MEMBERS = 108321 , V2NIM_ERROR_CODE_CHAT_BAN_LIST_CONTAIN_NOT_TEAM_MEMBER = 109301 ,
  V2NIM_ERROR_CODE_CHAT_BAN_LIST_CONTAIN_OPERATOR = 109303 , V2NIM_ERROR_CODE_CHAT_BAN_LIST_CONTAIN_TEAM_OWNER = 109304 , V2NIM_ERROR_CODE_OPERATION_ON_TEAM_MANAGER_NOT_ALLOWED = 109305 , V2NIM_ERROR_CODE_NO_TEAM_INVITE_PERMISSION = 109306 ,
  V2NIM_ERROR_CODE_TEAM_OWNER_QUIT_NOT_ALLOWED = 109307 , V2NIM_ERROR_CODE_TEAM_OWNER_IN_KICK_LIST = 109308 , V2NIM_ERROR_CODE_INVITE_ROBOT_ACCOUNT_NOT_ALLOWED = 109309 , V2NIM_ERROR_CODE_KICK_OPERATOR_NOT_ALLOWED = 109310 ,
  V2NIM_ERROR_CODE_TEAM_MEMBER_ALREADY_EXIST = 109311 , V2NIM_ERROR_CODE_TEAM_MEMBER_CAN_NOT_MODIFY_SELF = 109312 , V2NIM_ERROR_CODE_TEAM_INVITATION_OR_APPLICATION_NOT_EXIST = 109313 , V2NIM_ERROR_CODE_OPERATION_ON_TEAM_OWNER_NOT_ALLOWED = 109314 ,
  V2NIM_ERROR_CODE_TEAM_MEMBER_NOT_EXIST = 109404 , V2NIM_ERROR_CODE_TEAM_MEMBER_CHAT_BANNED = 109424 , V2NIM_ERROR_CODE_TEAM_OWNER_OPERATION_PERMISSION_REQUIRED = 109427 , V2NIM_ERROR_CODE_TEAM_OWNER_OR_MANAGER_OPERATION_PERMISSION_REQUIRED = 109432 ,
  V2NIM_ERROR_CODE_TEAM_MEMBER_CONCURRENT_OPERATION_FAILED = 109449 , V2NIM_ERROR_CODE_TEAM_MEMBER_HIT_ANTISPAM = 109451 , V2NIM_ERROR_CODE_FORCED_PUSH_LIST_INCLUDES_NON_TARGETED_ACCOUNTS = 109318 , V2NIM_ERROR_CODE_ACCOUNTS_FOR_CONVERSATIONS_NOT_UNIQUE = 110301 ,
  V2NIM_ERROR_CODE_CONVERSATION_AND_ACCOUNT_MISMATCH = 110302 , V2NIM_ERROR_CODE_CONVERSATION_STICK_TOP_LIMIT = 110303 , V2NIM_ERROR_CODE_CONVERSATION_BELONGED_GROUP_LIMIT = 110304 , V2NIM_ERROR_CODE_CONVERSATION_NOT_EXIST = 110404 ,
  V2NIM_ERROR_CODE_CONVERSATION_OPERATION_NEED_RETRY = 110449 , V2NIM_ERROR_CODE_BROADCASTING_NOTIFICATION_DISABLED = 111410 , V2NIM_ERROR_CODE_BROADCASTING_NOTIFICATION_NOT_EXIST = 111404 , V2NIM_ERROR_CODE_GET_CHATROOM_LINK_FAILED = 113304 ,
  V2NIM_ERROR_CODE_IM_CONNECTION_ABNORMAL = 113305 , V2NIM_ERROR_CODE_CHATROOM_NOT_EXIST = 113404 , V2NIM_ERROR_CODE_CHATROOM_CLOSED = 113406 , V2NIM_ERROR_CODE_CHATROOM_REPEATED_OPERATION = 113409 ,
  V2NIM_ERROR_CODE_CHATROOM_SERVICE_DISABLED = 113410 , V2NIM_ERROR_CODE_ALL_CHATROOM_MEMBERS_CHAT_BANNED = 113423 , V2NIM_ERROR_CODE_CHATROOM_INFO_HIT_ANTISPAM = 113451 , V2NIM_ERROR_CODE_CHATROOM_ILLEGAL_AUTH_TYPE = 113306 ,
  V2NIM_ERROR_CODE_IDENTICAL_FIELD_VALUES = 113307 , V2NIM_ERROR_CODE_CHATROOM_MANAGER_OPERATION_REQUIRED = 113428 , V2NIM_ERROR_CODE_CHATROOM_COUNT_LIMIT = 113434 , V2NIM_ERROR_CODE_NOTIFICATION_FOR_MEMBER_IN_OUT_CHATROOM_DISALED = 113308 ,
  V2NIM_ERROR_CODE_CHATROOM_TEMP_CHAT_BANNED = 113301 , V2NIM_ERROR_CODE_CHATROOM_TAGGED_MEMBERS_CHAT_BANNED = 113302 , V2NIM_ERROR_CODE_CHATROOM_CLOSING = 113303 , V2NIM_ERROR_CODE_CHATROOM_BROADCASTING_NOTIFICATION_HIT_ANTISPAM = 113309 ,
  V2NIM_ERROR_CODE_CHATROOM_BROADCASTING_NOTIFICATION_DISABLED = 113310 , V2NIM_ERROR_CODE_CHATROOM_MEMBER_NOT_EXIST = 114404 , V2NIM_ERROR_CODE_CHATROOM_MEMBER_REPEATED_OPERATION = 114405 , V2NIM_ERROR_CODE_CHATROOM_MEMBER_CHAT_BANNED = 114421 ,
  V2NIM_ERROR_CODE_ACCOUNT_IN_CHATROOM_BLOCK_LIST = 114426 , V2NIM_ERROR_CODE_CHATROOM_OWNER_OPERATION_PERMISSION_REQUIRED = 114427 , V2NIM_ERROR_CODE_OPERATOR_IN_CHATROOM_MEMBER_OPERATION_LIST = 114429 , V2NIM_ERROR_CODE_CHATROOM_OWNER_OR_MANAGER_OPERATION_PERMISSION_REQUIRED = 114432 ,
  V2NIM_ERROR_CODE_CHATROOM_MEMBER_LIMIT = 114437 , V2NIM_ERROR_CODE_CHATROOM_MEMBER_CONCURRENT_OPERATION_FAILED = 114449 , V2NIM_ERROR_CODE_CHATROOM_MEMBER_INFO_HIT_ANTISPAM = 114451 , V2NIM_ERROR_CODE_CHATROOM_MEMBER_ALREADY_DELETED = 114408 ,
  V2NIM_ERROR_CODE_CHATROOM_MEMBER_IN_BLOCKLIST_CHAT_BANNED_LIST = 114301 , V2NIM_ERROR_CODE_ANONYMOUS_MEMBER_OPERATION_FORBIDDEN = 114303 , V2NIM_ERROR_CODE_CHATROOM_TARGET_MEMBER_OFFLINE = 114304 , V2NIM_ERROR_CODE_CONVERSATION_GROUP_NOT_EXIST = 116404 ,
  V2NIM_ERROR_CODE_CONVERSATION_GROUP_LIMIT = 116435 , V2NIM_ERROR_CODE_CONVERSATIONS_IN_GROUP_LIMIT = 116437 , V2NIM_ERROR_CODE_COLLECTION_LIMIT = 189301 , V2NIM_ERROR_CODE_COLLECTION_NOT_EXIST = 189302 ,
  V2NIM_ERROR_CODE_COLLECTION_CONCURRENT_OPERATION_FAILED = 189449 , V2NIM_ERROR_CODE_CLIENT_ANTISPAM_FILE_NO_CHANGE = 189303 , V2NIM_ERROR_CODE_CLIENT_ANTISPAM_FILE_SIZE_LIMIT = 189304 , V2NIM_ERROR_CODE_INTERNAL = 190001 ,
  V2NIM_ERROR_CODE_ILLEGAL_STATE = 190002 , V2NIM_ERROR_CODE_MISUSE = 191001 , V2NIM_ERROR_CODE_CANCELLED = 191002 , V2NIM_ERROR_CODE_CALLBACK_FAILED = 191003 ,
  V2NIM_ERROR_CODE_INVALID_PARAMETER = 191004 , V2NIM_ERROR_CODE_TIMEOUT = 191005 , V2NIM_ERROR_CODE_RESOURCE_NOT_EXIST = 191006 , V2NIM_ERROR_CODE_RESOURCE_ALREADY_EXIST = 191007 ,
  V2NIM_ERROR_CODE_CONNECT_FAILED = 192001 , V2NIM_ERROR_CODE_CONNECT_TIMEOUT = 192002 , V2NIM_ERROR_CODE_DISCONNECTED = 192003 , V2NIM_ERROR_CODE_PROTOCOL_TIMEOUT = 192004 ,
  V2NIM_ERROR_CODE_PROTOCOL_SEND_FAILED = 192005 , V2NIM_ERROR_CODE_REQUEST_FAILED = 192006 , V2NIM_ERROR_CODE_DATABASE_OPEN_FAILED = 193001 , V2NIM_ERROR_CODE_DATABASE_UPGRADE_FAILED = 193002 ,
  V2NIM_ERROR_CODE_DATABASE_WRITE_FAILED = 193003 , V2NIM_ERROR_CODE_DATABASE_READ_FAILED = 193004 , V2NIM_ERROR_CODE_FILE_NOT_FOUND = 194001 , V2NIM_ERROR_CODE_FILE_CREATE_FAILED = 194002 ,
  V2NIM_ERROR_CODE_FILE_OPEN_FAILED = 194003 , V2NIM_ERROR_CODE_FILE_WRITE_FAILED = 194004 , V2NIM_ERROR_CODE_FILE_READ_FAILED = 194005 , V2NIM_ERROR_CODE_FILE_UPLOAD_FAILED = 194006 ,
  V2NIM_ERROR_CODE_FILE_DOWNLOAD_FAILED = 194007 , V2NIM_ERROR_CODE_CLIENT_ANTISPAM = 195001 , V2NIM_ERROR_CODE_SERVER_ANTISPAM = 195002 , V2NIM_ERROR_CODE_SIGNALLING_ROOM_EXIST = 118301 ,
  V2NIM_ERROR_CODE_SIGNALLING_INVITE_ACCEPTED = 118302 , V2NIM_ERROR_CODE_SIGNALLING_MEMBER_NOT_EXIST = 118303 , V2NIM_ERROR_CODE_SIGNALLING_MEMBER_ALREADY_EXIST = 118304 , V2NIM_ERROR_CODE_SIGNALLING_MEMBER_ALREADY_EXIST_AND_DEVICE_ID_NOT_UNIQUE = 118305 ,
  V2NIM_ERROR_CODE_SIGNALLING_UID_NOT_UNIQUE = 118306 , V2NIM_ERROR_CODE_SIGNALLING_INVITE_REJECTED = 118307 , V2NIM_ERROR_CODE_SIGNALLING_MEMBER_OFFLINE_BUT_PUSH_REACHABLE = 118308 , V2NIM_ERROR_CODE_SIGNALLING_MEMBER_OFFLINE_AND_PUSH_NOT_REACHABLE = 118309 ,
  V2NIM_ERROR_CODE_SIGNALLING_INVITE_NOT_EXIST = 118310 , V2NIM_ERROR_CODE_SIGNALLING_ROOM_NOT_EXIST = 118404 , V2NIM_ERROR_CODE_SIGNALLING_ROOM_MEMBER_LIMIT = 118437 , V2NIM_ERROR_CODE_SIGNALLING_SERVICE_DISABLED = 118410
}
 NIM 错误码 更多...
 
enum  V2NIMIPProtocolVersion { V2NIM_IP_PROTOCOL_VERSION_UNSPECIFIED = 0 , V2NIM_IP_PROTOCOL_VERSION_IPV4 = 1 , V2NIM_IP_PROTOCOL_VERSION_IPV6 = 2 }
 
enum  V2NIMAsymmetricEncryptionAlgorithm { V2NIM_ASYMMETRIC_ENCRYPTION_ALGORITHM_RSA = 1 , V2NIM_ASYMMETRIC_ENCRYPTION_ALGORITHM_SM2 = 2 }
 
enum  V2NIMSymmetricEncryptionAlgorithm { V2NIM_SYMMETRIC_ENCRYPTION_ALGORITHM_RC4 = 1 , V2NIM_SYMMETRIC_ENCRYPTION_ALGORITHM_AES128 = 2 , V2NIM_SYMMETRIC_ENCRYPTION_ALGORITHM_SM4 = 4 }
 
enum  V2NIMSQLCipherVersion { V2NIM_SQLCIPHER_VERSION_3 = 3 , V2NIM_SQLCIPHER_VERSION_4 = 4 }
 
enum  V2NIMSDKLogLevel {
  V2NIM_SDK_LOG_LEVEL_FATAL = 1 , V2NIM_SDK_LOG_LEVEL_ERROR = 2 , V2NIM_SDK_LOG_LEVEL_WARN = 3 , V2NIM_SDK_LOG_LEVEL_APP = 5 ,
  V2NIM_SDK_LOG_LEVEL_PRO = 6
}
 
enum  V2NIMFCSAuthType {
  V2NIM_FCS_AUTH_TYPE_NONE = 0 , V2NIM_FCS_AUTH_TYPE_REFER = 1 , V2NIM_FCS_AUTH_TYPE_TIME_TOKEN = 2 , V2NIM_FCS_AUTH_TYPE_URL_TOKEN = 3 ,
  V2NIM_FCS_AUTH_TYPE_CUSTOM = 4
}
 
enum  V2NIMConversationType { V2NIM_CONVERSATION_TYPE_UNKNOWN = 0 , V2NIM_CONVERSATION_TYPE_P2P = 1 , V2NIM_CONVERSATION_TYPE_TEAM = 2 , V2NIM_CONVERSATION_TYPE_SUPER_TEAM = 3 }
 
enum  V2NIMMessageType {
  V2NIM_MESSAGE_TYPE_TEXT = 0 , V2NIM_MESSAGE_TYPE_IMAGE = 1 , V2NIM_MESSAGE_TYPE_AUDIO = 2 , V2NIM_MESSAGE_TYPE_VIDEO = 3 ,
  V2NIM_MESSAGE_TYPE_LOCATION = 4 , V2NIM_MESSAGE_TYPE_NOTIFICATION = 5 , V2NIM_MESSAGE_TYPE_FILE = 6 , V2NIM_MESSAGE_TYPE_TIP = 10 ,
  V2NIM_MESSAGE_TYPE_ROBOT = 11 , V2NIM_MESSAGE_TYPE_CALL = 12 , V2NIM_MESSAGE_TYPE_CUSTOM = 100
}
 
enum  V2NIMMessageSendingState { V2NIM_MESSAGE_SENDING_STATE_UNKNOWN = 0 , V2NIM_MESSAGE_SENDING_STATE_SUCCEEDED = 1 , V2NIM_MESSAGE_SENDING_STATE_FAILED = 2 , V2NIM_MESSAGE_SENDING_STATE_SENDING = 3 }
 
enum  V2NIMLastMessageState { V2NIM_MESSAGE_STATE_DEFAULT = 0 , V2NIM_MESSAGE_STATE_REVOKED = 1 , V2NIM_MESSAGE_STATE_CLIENTFILL = 2 }
 
enum  V2NIMMessageAttachmentUploadState { V2NIM_MESSAGE_ATTACHMENT_UPLOAD_STATE_UNKNOWN = 0 , V2NIM_MESSAGE_ATTACHMENT_UPLOAD_STATE_SUCCEEDED = 1 , V2NIM_MESSAGE_ATTACHMENT_UPLOAD_STATE_FAILED = 2 , V2NIM_MESSAGE_ATTACHMENT_UPLOAD_STATE_UPLOADING = 3 }
 
enum  V2NIMMessageNotificationType {
  V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_INVITE = 0 , V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_KICK = 1 , V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_LEAVE = 2 , V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_UPDATE_TINFO = 3 ,
  V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_DISMISS = 4 , V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_APPLY_PASS = 5 , V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_OWNER_TRANSFER = 6 , V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_ADD_MANAGER = 7 ,
  V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_REMOVE_MANAGER = 8 , V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_INVITE_ACCEPT = 9 , V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_BANNED_TEAM_MEMBER = 10 , V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_INVITE = 401 ,
  SSAGE_NOTIFICATION_TYPE_SUPER_TEAM_KICK = 402 , V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_LAVE = 403 , V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_UPDATE_TINFO = 404 , V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_DISMISS = 405 ,
  V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_OWNER_TRANSFER = 406 , V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_ADD_MANAGER = 407 , V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_REMOVE_MANAGER = 408 , V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_BANNED_TEAM_MEMBER = 409 ,
  V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_APPLY_PASS = 410 , V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_INVITE_ACCEPT = 411
}
 
enum  V2NIMChatroomMessageNotificationType {
  V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_ENTER = 0 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_EXIT = 1 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_BLOCK_ADDED = 2 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_BLOCK_REMOVED = 3 ,
  V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_CHAT_BANNED_ADDED = 4 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_CHAT_BANNED_REMOVED = 5 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_ROOM_INFO_UPDATED = 6 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_KICKED = 7 ,
  V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_TEMP_CHAT_BANNED_ADDED = 8 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_TEMP_CHAT_BANNED_REMOVED = 9 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_INFO_UPDATED = 10 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_QUEUE_CHANGE = 11 ,
  V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_CHAT_BANNED = 12 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_CHAT_BANNED_REMOVED = 13 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_TAG_TEMP_CHAT_BANNED_ADDED = 14 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_TAG_TEMP_CHAT_BANNED_REMOVED = 15 ,
  V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MESSAGE_REVOKE = 16 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_TAGS_UPDATE = 17 , V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_ROLE_UPDATE = 18
}
 
enum  V2NIMChatroomQueueChangeType {
  V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_UNKNOWN = 0 , V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_OFFER = 1 , V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_POLL = 2 , V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_DROP = 3 ,
  V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_PARTCLEAR = 4 , V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_BATCH_UPDATE = 5 , V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_BATCH_OFFER = 6
}
 
enum  V2NIMMessagePinState { V2NIM_MESSAGE_PIN_STEATE_NOT_PINNED = 0 , V2NIM_MESSAGE_PIN_STEATE_PINNED = 1 , V2NIM_MESSAGE_PIN_STEATE_UPDATED = 2 }
 
enum  V2NIMQueryDirection { V2NIM_QUERY_DIRECTION_DESC = 0 , V2NIM_QUERY_DIRECTION_ASC = 1 }
 
enum  V2NIMMessageQuickCommentType { V2NIM_MESSAGE_QUICK_COMMENT_TYPE_ADD = 1 , V2NIM_MESSAGE_QUICK_COMMENT_TYPE_REMOVE = 2 }
 
enum  V2NIMSortOrder { V2NIM_SORT_ORDER_DESC = 0 , V2NIM_SORT_ORDER_ASC = 1 }
 
enum  V2NIMMessageAIStatus { V2NIM_MESSAGE_AI_STATUS_UNKNOWN = 0 , V2NIM_MESSAGE_AI_STATUS_AT , V2NIM_MESSAGE_AI_STATUS_RESPONSE }
 
enum  V2NIMMessageRevokeType {
  V2NIM_MESSAGE_REVOKE_TYPE_UNDEFINED = 0 , V2NIM_MESSAGE_REVOKE_TYPE_P2P_BOTHWAY = 1 , V2NIM_MESSAGE_REVOKE_TYPE_TEAM_BOTHWAY = 2 , V2NIM_MESSAGE_REVOKE_TYPE_SUPER_TEAM_BOTHWAY = 3 ,
  V2NIM_MESSAGE_REVOKE_TYPE_P2P_ONEWAY = 4 , V2NIM_MESSAGE_REVOKE_TYPE_TEAM_ONEWAY = 5
}
 
enum  V2NIMMessageClientAntispamOperatorType { V2NIM_MESSAGE_CLIENT_ANTISPAM_OPERATOR_NONE = 0 , V2NIM_MESSAGE_CLIENT_ANTISPAM_OPERATOR_REPLACE , V2NIM_MESSAGE_CLIENT_ANTISPAM_OPERATOR_CLIENT_SHIELD , V2NIM_MESSAGE_CLIENT_ANTISPAM_OPERATOR_SERVER_SHIELD }
 
enum  V2NIMLoginAuthType { V2NIM_LOGIN_AUTH_TYPE_DEFAULT = 0 , V2NIM_LOGIN_AUTH_TYPE_DYNAMIC_TOKEN = 1 , V2NIM_LOGIN_AUTH_TYPE_THIRD_PARTY = 2 }
 
enum  V2NIMLoginClientType {
  V2NIM_LOGIN_CLIENT_TYPE_UNKNOWN = 0 , V2NIM_LOGIN_CLIENT_TYPE_ANDROID = 1 , V2NIM_LOGIN_CLIENT_TYPE_IOS = 2 , V2NIM_LOGIN_CLIENT_TYPE_PC = 4 ,
  V2NIM_LOGIN_CLIENT_TYPE_WINPHONE = 8 , V2NIM_LOGIN_CLIENT_TYPE_WEB = 16 , V2NIM_LOGIN_CLIENT_TYPE_RESTFUL = 32 , V2NIM_LOGIN_CLIENT_TYPE_MAC_OS = 64 ,
  V2NIM_LOGIN_CLIENT_TYPE_HARMONY_OS = 65
}
 
enum  V2NIMLoginStatus { V2NIM_LOGIN_STATUS_LOGOUT = 0 , V2NIM_LOGIN_STATUS_LOGINED = 1 , V2NIM_LOGIN_STATUS_LOGINING = 2 , V2NIM_LOGIN_STATUS_UNLOGIN = 3 }
 
enum  V2NIMKickedOfflineReason { V2NIM_KICKED_OFFLINE_REASON_CLIENT_EXCLUSIVE = 1 , V2NIM_KICKED_OFFLINE_REASON_SERVER = 2 , V2NIM_KICKED_OFFLINE_REASON_CLIENT = 3 }
 
enum  V2NIMLoginClientChange { V2NIM_LOGIN_CLIENT_CHANGE_LIST = 1 , V2NIM_LOGIN_CLIENT_CHANGE_LOGIN = 2 , V2NIM_LOGIN_CLIENT_CHANGE_LOGOUT = 3 }
 
enum  V2NIMConnectStatus { V2NIM_CONNECT_STATUS_DISCONNECTED = 0 , V2NIM_CONNECT_STATUS_CONNECTED = 1 , V2NIM_CONNECT_STATUS_CONNECTING = 2 , V2NIM_CONNECT_STATUS_WAITING = 3 }
 
enum  V2NIMDataSyncLevel { V2NIM_DATA_SYNC_LEVEL_FULL = 0 , V2NIM_DATA_SYNC_LEVEL_BASIC = 1 }
 
enum  V2NIMDataSyncType { V2NIM_DATA_SYNC_MAIN = 1 , V2NIM_DATA_SYNC_TEAM_MEMBER = 2 , V2NIM_DATA_SYNC_SUPER_TEAM_MEMBER = 3 }
 
enum  V2NIMDataSyncState { V2NIM_DATA_SYNC_STATE_WAITING = 1 , V2NIM_DATA_SYNC_STATE_SYNCING = 2 , V2NIM_DATA_SYNC_STATE_COMPLETED = 3 }
 
enum  V2NIMLoginType { V2NIM_LOGIN_TYPE_IM = 1 , V2NIM_LOGIN_TYPE_QCHAT = 2 , V2NIM_LOGIN_TYPE_IM_AND_QCHAT = 3 }
 
enum  V2NIMClientAntispamOperateType { V2NIM_CLIENT_ANTISPAM_OPERATE_NONE = 0 , V2NIM_CLIENT_ANTISPAM_OPERATE_REPLACE = 1 , V2NIM_CLIENT_ANTISPAM_OPERATE_CLIENT_SHIELD = 2 , V2NIM_CLIENT_ANTISPAM_OPERATE_SERVER_SHIELD = 3 }
 
enum  V2NIMClientAntispamThesaurusMatchType { V2NIM_CLIENT_ANTISPAM_THESAURUS_MATCH_TYPE_WORD = 1 , V2NIM_CLIENT_ANTISPAM_THESAURUS_MATCH_TYPE_REGEX = 2 }
 
enum  V2NIMTeamType { V2NIM_TEAM_TYPE_INVALID = 0 , V2NIM_TEAM_TYPE_NORMAL = 1 , V2NIM_TEAM_TYPE_SUPER = 2 }
 
enum  V2NIMTeamJoinMode { V2NIM_TEAM_JOIN_MODE_FREE = 0 , V2NIM_TEAM_JOIN_MODE_APPLY = 1 , V2NIM_TEAM_JOIN_MODE_PRIVATE = 2 }
 
enum  V2NIMTeamAgreeMode { V2NIM_TEAM_AGREE_MODE_AUTH = 0 , V2NIM_TEAM_AGREE_MODE_NO_AUTH = 1 }
 
enum  V2NIMTeamInviteMode { V2NIM_TEAM_INVITE_MODE_MANAGER = 0 , V2NIM_TEAM_INVITE_MODE_ALL = 1 }
 
enum  V2NIMTeamUpdateInfoMode { V2NIM_TEAM_UPDATE_INFO_MODE_MANAGER = 0 , V2NIM_TEAM_UPDATE_INFO_MODE_ALL = 1 }
 
enum  V2NIMTeamChatBannedMode { V2NIM_TEAM_CHAT_BANNED_MODE_NONE = 0 , V2NIM_TEAM_CHAT_BANNED_MODE_BANNED_NORMAL = 1 , V2NIM_TEAM_CHAT_BANNED_MODE_BANNED_ALL = 2 }
 
enum  V2NIMTeamUpdateExtensionMode { V2NIM_TEAM_UPDATE_EXTENSION_MODE_MANAGER = 0 , V2NIM_TEAM_UPDATE_EXTENSION_MODE_ALL = 1 }
 
enum  V2NIMTeamMemberRole { V2NIM_TEAM_MEMBER_ROLE_NORMAL = 0 , V2NIM_TEAM_MEMBER_ROLE_OWNER = 1 , V2NIM_TEAM_MEMBER_ROLE_MANAGER = 2 }
 
enum  V2NIMTeamMemberRoleQueryType { V2NIM_TEAM_MEMBER_ROLE_QUERY_TYPE_ALL = 0 , V2NIM_TEAM_MEMBER_ROLE_QUERY_TYPE_MANAGER = 1 , V2NIM_TEAM_MEMBER_ROLE_QUERY_TYPE_NORMAL = 2 }
 
enum  V2NIMTeamJoinActionType { V2NIM_TEAM_JOIN_ACTION_TYPE_APPLICATION = 0 , V2NIM_TEAM_JOIN_ACTION_TYPE_REJECT_APPLICATION = 1 , V2NIM_TEAM_JOIN_ACTION_TYPE_INVITATION = 2 , V2NIM_TEAM_JOIN_ACTION_TYPE_REJECT_INVITATION = 3 }
 
enum  V2NIMTeamMessageMuteMode { V2NIM_TEAM_MESSAGE_MUTE_MODE_OFF = 0 , V2NIM_TEAM_MESSAGE_MUTE_MODE_ON = 1 , V2NIM_TEAM_MESSAGE_MUTE_MODE_NORMAL_ON = 2 }
 
enum  V2NIMP2PMessageMuteMode { V2NIM_P2P_MESSAGE_MUTE_MODE_OFF = 0 , V2NIM_P2P_MESSAGE_MUTE_MODE_ON = 1 }
 
enum  V2NIMFriendAddMode { V2NIM_FRIEND_MODE_TYPE_ADD = 1 , V2NIM_FRIEND_MODE_TYPE_APPLY = 2 }
 
enum  V2NIMTeamJoinActionStatus { V2NIM_TEAM_JOIN_ACTION_STATUS_INIT = 0 , V2NIM_TEAM_JOIN_ACTION_STATUS_AGREED = 1 , V2NIM_TEAM_JOIN_ACTION_STATUS_REJECTED = 2 , V2NIM_TEAM_JOIN_ACTION_STATUS_EXPIRED = 3 }
 
enum  V2NIMFriendAddApplicationStatus {
  V2NIM_FRIEND_ADD_APPLICATION_STATUS_INIT = 0 , V2NIM_FRIEND_ADD_APPLICATION_STATUS_AGREED = 1 , V2NIM_FRIEND_ADD_APPLICATION_STATUS_REJECTED = 2 , V2NIM_FRIEND_ADD_APPLICATION_STATUS_EXPIRED = 3 ,
  V2NIM_FRIEND_ADD_APPLICATION_STATUS_DIRECT_ADD = 4
}
 
enum  V2NIMFriendDeletionType { V2NIM_FRIEND_DELETION_TYPE_BY_SELF = 1 , V2NIM_FRIEND_DELETION_TYPE_BY_PEER = 2 }
 
enum  V2NIMChatroomQueueLevelMode { V2NIM_CHATROOM_QUEUE_LEVEL_MODE_ANY = 0 , V2NIM_CHATROOM_QUEUE_LEVEL_MODE_MANAGER = 1 }
 
enum  V2NIMChatroomMemberRole {
  V2NIM_CHATROOM_MEMBER_ROLE_NORMAL = 0 , V2NIM_CHATROOM_MEMBER_ROLE_CREATOR = 1 , V2NIM_CHATROOM_MEMBER_ROLE_MANAGER = 2 , V2NIM_CHATROOM_MEMBER_ROLE_NORMAL_GUEST = 3 ,
  V2NIM_CHATROOM_MEMBER_ROLE_ANONYMOUS_GUEST = 4 , V2NIM_CHATROOM_MEMBER_ROLE_VIRTUAL = 5
}
 
enum  V2NIMChatroomKickedReason {
  V2NIM_CHATROOM_KICKED_REASON_UNKNOWN = -1 , V2NIM_CHATROOM_KICKED_REASON_CHATROOM_INVALID = 1 , V2NIM_CHATROOM_KICKED_REASON_BY_MANAGER = 2 , V2NIM_CHATROOM_KICKED_REASON_BY_CONFLICT_LOGIN = 3 ,
  V2NIM_CHATROOM_KICKED_REASON_SILENTLY = 4 , V2NIM_CHATROOM_KICKED_REASON_BE_BLOCKED = 5
}
 
enum  V2NIMChatroomAsymmetricType { V2NIM_CHATROOM_ASYMMETRIC_TYPE_RSA = 1 , V2NIM_CHATROOM_ASYMMETRIC_TYPE_SM2 = 2 , V2NIM_CHATROOM_ASYMMETRIC_TYPE_RSA_OAEP_1 = 4 , V2NIM_CHATROOM_ASYMMETRIC_TYPE_RSA_OAEP_256 = 8 }
 
enum  V2NIMChatroomSymmetricType { V2NIM_CHATROOM_SYMMETRIC_TYPE_RC4 = 1 , V2NIM_CHATROOM_SYMMETRIC_TYPE_AES = 2 , V2NIM_CHATROOM_SYMMETRIC_TYPE_SM4 = 4 }
 
enum  V2NIMChatroomStatus {
  V2NIM_CHATROOM_STATUS_DISCONNECTED = 0 , V2NIM_CHATROOM_STATUS_WAITING = 1 , V2NIM_CHATROOM_STATUS_CONNECTING = 2 , V2NIM_CHATROOM_STATUS_CONNECTED = 3 ,
  V2NIM_CHATROOM_STATUS_ENTERING = 4 , V2NIM_CHATROOM_STATUS_ENTERED = 5 , V2NIM_CHATROOM_STATUS_EXITED = 6
}
 
enum  V2NIMDownloadAttachmentType { V2NIM_DOWNLOAD_ATTACHMENT_TYPE_SOURCE , V2NIM_DOWNLOAD_ATTACHMENT_TYPE_THUMBNAIL , V2NIM_DOWNLOAD_ATTACHMENT_TYPE_VIDEO_COVER }
 
enum  V2NIMMessageAttachmentType {
  V2NIM_MESSAGE_ATTACHMENT_TYPE_UNIVERSAL , V2NIM_MESSAGE_ATTACHMENT_TYPE_IMAGE , V2NIM_MESSAGE_ATTACHMENT_TYPE_AUDIO , V2NIM_MESSAGE_ATTACHMENT_TYPE_VIDEO ,
  V2NIM_MESSAGE_ATTACHMENT_TYPE_LOCATION , V2NIM_MESSAGE_ATTACHMENT_TYPE_TEAM_NOTIFICATION , V2NIM_MESSAGE_ATTACHMENT_TYPE_FILE , V2NIM_MESSAGE_ATTACHMENT_TYPE_CALL ,
  V2NIM_MESSAGE_ATTACHMENT_TYPE_CHATROOM_NOTIFICATION , V2NIM_MESSAGE_ATTACHMENT_TYPE_CHATROOM_MESSAGE_REVOKE_NOTIFICATION , V2NIM_MESSAGE_ATTACHMENT_TYPE_CHATROOM_QUEUE_NOTIFICATION , V2NIM_MESSAGE_ATTACHMENT_TYPE_CHATROOM_CHAT_BANNED_NOTIFICATION ,
  V2NIM_MESSAGE_ATTACHMENT_TYPE_CHATROOM_MEMBER_ENTER_NOTIFICATION , V2NIM_MESSAGE_ATTACHMENT_TYPE_CHATROOM_MEMBER_ROLE_UPDATE_NOTIFICATION , V2NIM_MESSAGE_ATTACHMENT_TYPE_CUSTOM = 100
}
 
enum  V2NIMAIModelRoleType { V2NIM_AI_MODEL_ROLE_TYPE_SYSTEM , V2NIM_AI_MODEL_ROLE_TYPE_USER , V2NIM_AI_MODEL_ROLE_TYPE_ASSISTANT }
 
enum  V2NIMAIModelType { V2NIM_AI_MODEL_TYPE_UNKNOWN = 0 , V2NIM_AI_MODEL_TYPE_QWEN = 1 , V2NIM_AI_MODEL_TYPE_AZURE = 2 , V2NIM_AI_MODEL_TYPE_PRIVATE = 3 }
 
enum  V2NIMSignallingChannelType { V2NIM_SIGNALLING_CHANNEL_TYPE_UNKNOWN = 0 , V2NIM_SIGNALLING_CHANNEL_TYPE_AUDIO = 1 , V2NIM_SIGNALLING_CHANNEL_TYPE_VIDEO , V2NIM_SIGNALLING_CHANNEL_TYPE_CUSTOM }
 
enum  V2NIMSignallingEventType {
  V2NIM_SIGNALLING_EVENT_TYPE_UNKNOWN , V2NIM_SIGNALLING_EVENT_TYPE_CLOSE , V2NIM_SIGNALLING_EVENT_TYPE_JOIN , V2NIM_SIGNALLING_EVENT_TYPE_INVITE ,
  V2NIM_SIGNALLING_EVENT_TYPE_CANCEL_INVITE , V2NIM_SIGNALLING_EVENT_TYPE_REJECT , V2NIM_SIGNALLING_EVENT_TYPE_ACCEPT , V2NIM_SIGNALLING_EVENT_TYPE_LEAVE ,
  V2NIM_SIGNALLING_EVENT_TYPE_CONTROL
}
 信令频道事件类型 更多...
 
enum  V2NIMUserStatusType { V2NIM_USER_STATUS_TYPE_UNKNOWN , V2NIM_USER_STATUS_TYPE_LOGIN , V2NIM_USER_STATUS_TYPE_LOGOUT , V2NIM_USER_STATUS_TYPE_DISCONNECT }
 

变量

static const std::map< uint32_t, const char *const > V2NIM_ERROR_DESC_MAPPING
 
static const uint32_t V2NIM_DEFAULT_LOG_RESERVE_DAYS {30}
 
static const uint32_t V2NIM_DEFAULT_MESSAGE_LIST_LIMIT {50}
 
static const uint32_t V2NIM_DEFAULT_JOIN_ACTION_QUERY_LIMIT {50}
 
static const uint32_t V2NIM_DEFAULT_FRIEND_APPLICATION_QUERY_LIMIT {50}
 
static const uint32_t V2NIM_DEFAULT_COLLECTION_LIST_LIMIT {100}
 
static const uint32_t V2NIM_DEFAULT_TEAM_LIST_LIMIT {100}
 
static const uint32_t V2NIM_DEFAULT_TEAM_MEMBER_LIST_LIMIT {100}
 
static const uint32_t V2NIM_DEFAULT_CHATROOM_QUERY_LIMIT {100}
 
static const uint32_t V2NIM_DEFAULT_SEARCH_MESSAGE_LIST_LIMIT {10}
 
static const uint32_t V2NIM_DEFAULT_THUMB_WIDTH {150}
 
static const uint32_t V2NIM_DEFAULT_THUMB_HEIGHT {0}
 
static const uint32_t V2NIM_DEFAULT_LOGIN_TIMEOUT {60000}
 
static const uint32_t V2NIM_DEFAULT_SUBSCRIBE_DURATION {60}
 
static const uint64_t DEFAULT_LINK_TIMEOUT {3000}
 
static const uint64_t DEFAULT_PROTOCOL_TIMEOUT {30000}
 
static const uint32_t SUPER_TEAM_NOTIFICATION_ID_OFFSET {401}
 
static const std::array CONNECT_STATUS_STR_MAPPING {"disconnected", "connected", "connecting", "waiting"}
 
static const std::array LOGIN_STATUS_STR_MAPPING {"logout", "logined", "logining", "unlogin"}
 
static const std::array CHATROOM_STATUS_STR_MAPPING {"disconnected", "waiting", "connecting", "connected", "entering", "entered", "exited"}
 
static const std::array KICKED_OFFLINE_REASON_STR_MAPPING {"unknown", "client exclusive", "server", "client"}
 
static const std::array DATA_SYNC_TYPE_STR_MAPPING {"unknown", "main", "team member", "super team member"}
 
static const std::array DATA_SYNC_STATE_STR_MAPPING {"unknown", "waiting", "syncing", "completed"}
 
static const std::array LOGIN_CLIENT_CHANGE_STR_MAPPING {"unknown", "list", "login", "logout"}
 
static const char * V2NIM_STORAGE_SCENE_NAME_DEFAULT_PROFILE {"nim_default_profile_icon"}
 
static const char * V2NIM_STORAGE_SCENE_NAME_DEFAULT_IM {"nim_default_im"}
 
static const char * V2NIM_STORAGE_SCENE_NAME_DEFAULT_SYSTEM {"nim_system_nos_scene"}
 
static const char * V2NIM_STORAGE_SCENE_NAME_SECURITY_LINK {"nim_security"}
 
static const char * ATTACHMENT_KEY_PATH = "path"
 
static const char * ATTACHMENT_KEY_MD5 = "md5"
 
static const char * ATTACHMENT_KEY_SIZE = "size"
 
static const char * ATTACHMENT_KEY_URL = "url"
 
static const char * ATTACHMENT_KEY_EXT = "ext"
 
static const char * ATTACHMENT_KEY_NAME = "name"
 
static const char * ATTACHMENT_KEY_WIDTH = "w"
 
static const char * ATTACHMENT_KEY_HEIGHT = "h"
 
static const char * ATTACHMENT_KEY_DURATION = "dur"
 
static const char * ATTACHMENT_KEY_LATITUDE = "lat"
 
static const char * ATTACHMENT_KEY_LONGITUDE = "lng"
 
static const char * ATTACHMENT_KEY_TITLE = "title"
 
static const char * ATTACHMENT_KEY_ID = "id"
 
static const char * ATTACHMENT_KEY_IDS = "ids"
 
static const char * ATTACHMENT_KEY_MUTE = "mute"
 
static const char * ATTACHMENT_KEY_FROM_ACCID = "from"
 
static const char * ATTACHMENT_KEY_TIME = "time"
 
static const char * ATTACHMENT_KEY_BODY = "body"
 
static const char * ATTACHMENT_KEY_DATA = "data"
 
static const char * ATTACHMENT_KEY_TINFO = "tinfo"
 
static const char * ATTACHMENT_KEY_TLIST = "tlist"
 
static const char * ATTACHMENT_KEY_UINFOS = "uinfos"
 
static const char * ATTACHMENT_KEY_SCENE_NAME = "sceneName"
 
static const char * ATTACHMENT_KEY_UPLOAD_STATE = "uploadState"
 
static const char * ATTACHMENT_KEY_CALL_TYPE = "type"
 
static const char * ATTACHMENT_KEY_CALL_STATUS = "status"
 
static const char * ATTACHMENT_KEY_CALL_CHANNEL_ID = "channelId"
 
static const char * ATTACHMENT_KEY_CALL_DURATIONS = "durations"
 
static const char * ATTACHMENT_KEY_CALL_DURATION = "duration"
 
static const char * ATTACHMENT_KEY_CALL_ACCOUNT_ID = "accid"
 
static const char * CLIENT_ANTISPAM_CACHE_FILE = "client_antispam_cache"
 
static const char * TEAM_NOTIFICATION_KEY_DATA = "data"
 
static const char * TEAM_NOTIFICATION_KEY_ATTACH = "attach"
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO = "team_info"
 兼容旧数据库中被转换后的的群通知信息
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_NAME = "name"
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_ICON = "icon"
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_MEMBER_LIMIT = "member_count"
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_INTRO = "intro"
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_ANNOUNCEMENT = "announcement"
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_SRV_EXTENSION = "custom"
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_JOIN_MODE = "join_mode"
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_AGREE_MODE = "be_invite_mode"
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_INVITE_MODE = "invite_mode"
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_UPDATEINFO_MODE = "update_info_mode"
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_UPDATEEXT_MODE = "update_custom_mode"
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_MUTE_TYPE = "mute_type"
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_MEMBER_MAX_COUNT = "member_max_count"
 兼容旧数据库中被转换后的的群通知信息
 
static const char * TEAM_NOTIFICATION_KEY_TEAM_INFO_CUSTOM = "server_custom"
 
static const char * TEAM_NOTIFICATION_KEY_ID = "id"
 
static const char * TEAM_NOTIFICATION_KEY_IDS = "ids"
 
static const char * TEAM_NOTIFICATION_KEY_TINFO = "tinfo"
 
static const char * TEAM_NOTIFICATION_KEY_TLIST = "tlist"
 
static const char * TEAM_NOTIFICATION_KEY_UINFOS = "uinfos"
 
static const char * TEAM_NOTIFICATION_KEY_MUTE = "mute"
 
static const char * CHATROOM_NOTIFICATION_KEY_DATA = "data"
 
static const char * CHATROOM_NOTIFICATION_KEY_ID = "id"
 
static const char * CHATROOM_NOTIFICATION_KEY_EXT = "ext"
 
static const char * CHATROOM_NOTIFICATION_KEY_OPERATOR = "operator"
 
static const char * CHATROOM_NOTIFICATION_KEY_OPERATOR_NICK = "opeNick"
 
static const char * CHATROOM_NOTIFICATION_KEY_TARGET = "target"
 
static const char * CHATROOM_NOTIFICATION_KEY_TARGET_NICK = "tarNick"
 
static const char * CHATROOM_NOTIFICATION_KEY_MUTED = "muted"
 
static const char * CHATROOM_NOTIFICATION_KEY_TEMP_MUTED = "tempMuted"
 
static const char * CHATROOM_NOTIFICATION_KEY_MUTE_DURATION = "muteDuration"
 
static const char * CHATROOM_NOTIFICATION_KEY_MUTE_TTL = "muteTtl"
 
static const char * CHATROOM_NOTIFICATION_KEY_QUEUE_CHANGE = "queueChange"
 
static const char * CHATROOM_NOTIFICATION_KEY_TARGET_TAG = "targetTag"
 
static const char * CHATROOM_NOTIFICATION_KEY_MESSAGE_TIME = "msgTime"
 
static const char * CHATROOM_NOTIFICATION_KEY_MESSAGE_ID = "msgId"
 
static const char * CHATROOM_NOTIFICATION_KEY_PREVIOUS_ROLE = "previousRole"
 
static const char * CHATROOM_NOTIFICATION_KEY_MEMBER = "member"
 
static const char * CHATROOM_NOTIFICATION_KEY_ROOM_INFO = "roomInfo"
 
static const char * CHATROOM_NOTIFICATION_KEY_ACCOUNT_ID = "accountId"
 
static const char * CHATROOM_NOTIFICATION_KEY_AVATAR = "avatar"
 
static const char * CHATROOM_NOTIFICATION_KEY_BLOCK_LIST = "blockList"
 
static const char * CHATROOM_NOTIFICATION_KEY_CHAT_BANNED = "chatBanned"
 
static const char * CHATROOM_NOTIFICATION_KEY_TEMP_CHAT_BANNED = "tempChatBanned"
 
static const char * CHATROOM_NOTIFICATION_KEY_ENTER_TIME = "enterTime"
 
static const char * CHATROOM_NOTIFICATION_KEY_TAGS = "tags"
 
static const char * CHATROOM_NOTIFICATION_KEY_NOTIFY_TARGET_TAGS = "notifyTargetTags"
 
static const char * CHATROOM_NOTIFICATION_KEY_MEMBER_LEVEL = "memberLevel"
 
static const char * CHATROOM_NOTIFICATION_KEY_NICK = "nick"
 
static const char * CHATROOM_NOTIFICATION_KEY_ONLINE_STAT = "onlineStat"
 
static const char * CHATROOM_NOTIFICATION_KEY_ONLINE_LIST = "onlineList"
 
static const char * CHATROOM_NOTIFICATION_KEY_ROOM_ID = "roomId"
 
static const char * CHATROOM_NOTIFICATION_KEY_MEMBER_ROLE = "memberRole"
 
static const char * CHATROOM_NOTIFICATION_KEY_UPDATE_TIME = "updateTime"
 
static const char * CHATROOM_NOTIFICATION_KEY_VALID = "valid"
 
static const char * CHATROOM_NOTIFICATION_KEY_ANNOUNCEMENT = "announcement"
 
static const char * CHATROOM_NOTIFICATION_KEY_ROOM_NAME = "roomName"
 
static const char * CHATROOM_NOTIFICATION_KEY_LIVE_URL = "liveUrl"
 
static const char * CHATROOM_NOTIFICATION_KEY_EXTENSION = "extension"
 
static const char * CHATROOM_NOTIFICATION_KEY_QUEUE_LEVEL = "queueLevel"
 

类型定义说明

◆ V2NIMChatroomLinkProvider

聊天室 link 获取回调

参数
roomId聊天室 ID
account账号
返回
link

◆ V2NIMChatroomLoginExtensionProvider

聊天室登陆扩展信息获取回调

参数
roomId聊天室 ID
account账号
返回
token

◆ V2NIMChatroomTokenProvider

聊天室 token 获取回调

参数
roomId聊天室 ID
account账号
返回
token

◆ V2NIMFailureCallback

using v2::V2NIMFailureCallback = nstd::function<void(const V2NIMError& error)>

通用失败

参数
error错误信息

◆ V2NIMLoginExtensionProvider

登陆扩展信息获取回调

参数
accountId账号
返回
登陆扩展信息

◆ V2NIMProgressCallback

using v2::V2NIMProgressCallback = nstd::function<void(uint32_t progress)>

通用进度

参数
progress进度, 0-100

◆ V2NIMReconnectDelayProvider

using v2::V2NIMReconnectDelayProvider = nstd::function<uint32_t(uint32_t defaultDelay)>

获取重连延时

参数
defaultDelay默认延时, 单位毫秒
返回
uint32_t 延时, 单位毫秒

◆ V2NIMTokenProvider

动态 token 获取回调

参数
accountId账号
返回
token

枚举类型说明

◆ V2NIMAIModelRoleType

枚举值
V2NIM_AI_MODEL_ROLE_TYPE_SYSTEM 

系统

V2NIM_AI_MODEL_ROLE_TYPE_USER 

用户

V2NIM_AI_MODEL_ROLE_TYPE_ASSISTANT 

助手

◆ V2NIMAIModelType

枚举值
V2NIM_AI_MODEL_TYPE_UNKNOWN 

未知

V2NIM_AI_MODEL_TYPE_QWEN 

通义千问大模型

V2NIM_AI_MODEL_TYPE_AZURE 

微软 Azure

V2NIM_AI_MODEL_TYPE_PRIVATE 

私有本地大模型

◆ V2NIMAsymmetricEncryptionAlgorithm

枚举值
V2NIM_ASYMMETRIC_ENCRYPTION_ALGORITHM_RSA 

RSA

V2NIM_ASYMMETRIC_ENCRYPTION_ALGORITHM_SM2 

SM2

◆ V2NIMChatroomAsymmetricType

枚举值
V2NIM_CHATROOM_ASYMMETRIC_TYPE_RSA 

RSA

V2NIM_CHATROOM_ASYMMETRIC_TYPE_SM2 

SM2

V2NIM_CHATROOM_ASYMMETRIC_TYPE_RSA_OAEP_1 

RSA_OAEP_1

V2NIM_CHATROOM_ASYMMETRIC_TYPE_RSA_OAEP_256 

RSA_OAEP_256

◆ V2NIMChatroomKickedReason

枚举值
V2NIM_CHATROOM_KICKED_REASON_UNKNOWN 

未知

V2NIM_CHATROOM_KICKED_REASON_CHATROOM_INVALID 

聊天室解散

V2NIM_CHATROOM_KICKED_REASON_BY_MANAGER 

被管理员踢出

V2NIM_CHATROOM_KICKED_REASON_BY_CONFLICT_LOGIN 

多端被踢

V2NIM_CHATROOM_KICKED_REASON_SILENTLY 

静默被踢

V2NIM_CHATROOM_KICKED_REASON_BE_BLOCKED 

加黑被踢

◆ V2NIMChatroomMemberRole

枚举值
V2NIM_CHATROOM_MEMBER_ROLE_NORMAL 

普通成员

V2NIM_CHATROOM_MEMBER_ROLE_CREATOR 

创建者

V2NIM_CHATROOM_MEMBER_ROLE_MANAGER 

管理员

V2NIM_CHATROOM_MEMBER_ROLE_NORMAL_GUEST 

普通游客

V2NIM_CHATROOM_MEMBER_ROLE_ANONYMOUS_GUEST 

匿名游客

V2NIM_CHATROOM_MEMBER_ROLE_VIRTUAL 

虚构用户

◆ V2NIMChatroomMessageNotificationType

枚举值
V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_ENTER 

成员进入聊天室

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_EXIT 

成员退出聊天室

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_BLOCK_ADDED 

成员被加入黑名单

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_BLOCK_REMOVED 

成员被移除黑名单

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_CHAT_BANNED_ADDED 

成员被禁言 {"data":{"opeNick":"","tarNick":[""],"operator":"","target":[""],"tags":[]},"id":305}

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_CHAT_BANNED_REMOVED 

成员取消禁言

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_ROOM_INFO_UPDATED 

聊天室信息更新

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_KICKED 

成员被踢

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_TEMP_CHAT_BANNED_ADDED 

成员临时禁言

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_TEMP_CHAT_BANNED_REMOVED 

成员解除临时禁言

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_INFO_UPDATED 

成员信息更新

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_QUEUE_CHANGE 

队列有变更

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_CHAT_BANNED 

聊天室被禁言

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_CHAT_BANNED_REMOVED 

聊天室解除禁言

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_TAG_TEMP_CHAT_BANNED_ADDED 

聊天室新增标签禁言

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_TAG_TEMP_CHAT_BANNED_REMOVED 

聊天室移除标签禁言

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MESSAGE_REVOKE 

聊天室消息撤回

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_TAGS_UPDATE 

聊天室标签更新

V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_ROLE_UPDATE 

聊天室成员角色更新

◆ V2NIMChatroomQueueChangeType

枚举值
V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_UNKNOWN 

未知

V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_OFFER 

新增队列元素

V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_POLL 

移除队列元素

V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_DROP 

清空所有元素

V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_PARTCLEAR 

部分清理

V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_BATCH_UPDATE 

批量更新

V2NIM_CHATROOM_QUEUE_CHANGE_TYPE_BATCH_OFFER 

批量添加

◆ V2NIMChatroomQueueLevelMode

枚举值
V2NIM_CHATROOM_QUEUE_LEVEL_MODE_ANY 

所有人都有权限操作

V2NIM_CHATROOM_QUEUE_LEVEL_MODE_MANAGER 

只有创建者/管理员才能操作

◆ V2NIMChatroomStatus

枚举值
V2NIM_CHATROOM_STATUS_DISCONNECTED 

聊天室断开连接

V2NIM_CHATROOM_STATUS_WAITING 

聊天室等待重连

V2NIM_CHATROOM_STATUS_CONNECTING 

聊天室连接过程中

V2NIM_CHATROOM_STATUS_CONNECTED 

聊天室已连接

V2NIM_CHATROOM_STATUS_ENTERING 

聊天室进入中

V2NIM_CHATROOM_STATUS_ENTERED 

聊天室已进入

V2NIM_CHATROOM_STATUS_EXITED 

聊天室已退出

◆ V2NIMChatroomSymmetricType

枚举值
V2NIM_CHATROOM_SYMMETRIC_TYPE_RC4 

RC4

V2NIM_CHATROOM_SYMMETRIC_TYPE_AES 

AES

V2NIM_CHATROOM_SYMMETRIC_TYPE_SM4 

SM4

◆ V2NIMClientAntispamOperateType

枚举值
V2NIM_CLIENT_ANTISPAM_OPERATE_NONE 

无操作

V2NIM_CLIENT_ANTISPAM_OPERATE_REPLACE 

本地替换

V2NIM_CLIENT_ANTISPAM_OPERATE_CLIENT_SHIELD 

本地屏蔽

V2NIM_CLIENT_ANTISPAM_OPERATE_SERVER_SHIELD 

服务器屏蔽

◆ V2NIMClientAntispamThesaurusMatchType

枚举值
V2NIM_CLIENT_ANTISPAM_THESAURUS_MATCH_TYPE_WORD 
V2NIM_CLIENT_ANTISPAM_THESAURUS_MATCH_TYPE_REGEX 

◆ V2NIMConnectStatus

枚举值
V2NIM_CONNECT_STATUS_DISCONNECTED 

未连接

V2NIM_CONNECT_STATUS_CONNECTED 

已连接

V2NIM_CONNECT_STATUS_CONNECTING 

连接中

V2NIM_CONNECT_STATUS_WAITING 

等待重连

◆ V2NIMConversationType

枚举值
V2NIM_CONVERSATION_TYPE_UNKNOWN 

未知

V2NIM_CONVERSATION_TYPE_P2P 

单聊

V2NIM_CONVERSATION_TYPE_TEAM 

群聊

V2NIM_CONVERSATION_TYPE_SUPER_TEAM 

超大群

◆ V2NIMDataSyncLevel

枚举值
V2NIM_DATA_SYNC_LEVEL_FULL 

完全同步

V2NIM_DATA_SYNC_LEVEL_BASIC 

只同步基础数据

◆ V2NIMDataSyncState

枚举值
V2NIM_DATA_SYNC_STATE_WAITING 

等待同步

V2NIM_DATA_SYNC_STATE_SYNCING 

开始同步

V2NIM_DATA_SYNC_STATE_COMPLETED 

同步完成

◆ V2NIMDataSyncType

枚举值
V2NIM_DATA_SYNC_MAIN 

同步主数据

V2NIM_DATA_SYNC_TEAM_MEMBER 

同步群组成员

V2NIM_DATA_SYNC_SUPER_TEAM_MEMBER 

同步超大群组成员

◆ V2NIMDownloadAttachmentType

枚举值
V2NIM_DOWNLOAD_ATTACHMENT_TYPE_SOURCE 

原始资源,支持全部有附件的类型

V2NIM_DOWNLOAD_ATTACHMENT_TYPE_THUMBNAIL 

图片缩略图,仅支持图片类附件

V2NIM_DOWNLOAD_ATTACHMENT_TYPE_VIDEO_COVER 

视频封面,仅支持视频类附件

◆ V2NIMErrorCode

NIM 错误码

带资源编号的错误码格式为 IM业务编号1 + 资源编号(2位) + 错误码(3位), 例如 101414

编号 资源
01 应用
02 用户账号
03 用户资料
04 好友
05 静音
06 黑名单
07 消息
08
09 群成员
10 会话
11 广播消息
12 系统消息
13 聊天室
14 聊天室成员/虚构用户
15 会话概览
16 会话分组
17 聊天室队列
89 其他
90 通用
91 接口
92 连接
93 数据库
94 文件
95 反垃圾
枚举值
V2NIM_ERROR_CODE_UNKNOWN 

未知错误 / unknown error

V2NIM_ERROR_CODE_SUCCESS 

请求成功 / success

V2NIM_ERROR_CODE_HANDSHAKE 

握手错误 / handshake error

V2NIM_ERROR_CODE_ASYMMETRIC_ENCRYPTION_ALGORITHM 

非对称加密算法错误 / asymmetric encryption algorithm error

V2NIM_ERROR_CODE_SYMMETRIC_ENCRYPTION_ALGORITHM 

对称加密算法错误 / symmetric encryption algorithm error

V2NIM_ERROR_CODE_HANDSHAKE_PROTOCOL_VERSION_NEED_FALLBACK 

握手协议版本需降级 / handshake protocol version need fallback

V2NIM_ERROR_CODE_REQUEST_TEMPORARY_FORBIDDEN 

请求被服务器暂时禁止 / request temporary forbidden

V2NIM_ERROR_CODE_SERVER_UNIT_ERROR 

服务器单元错误 / server unit error

V2NIM_ERROR_CODE_FORBIDDEN 

没有权限 / forbidden

V2NIM_ERROR_CODE_NOT_FOUND 

资源不存在 / not found

V2NIM_ERROR_CODE_PARAMETER_ERROR 

参数错误 / parameter error

V2NIM_ERROR_CODE_RATE_LIMIT 

频率超限 / rate limit exceeded

V2NIM_ERROR_CODE_MULTI_LOGIN_FORBIDDEN 

多端登录被禁止 / multi login forbidden

V2NIM_ERROR_CODE_NEED_RETRY 

请求需要重试 / need retry

V2NIM_ERROR_CODE_CALLBACK_FORBIDDEN 

第三方回调被拒绝 / callback forbidden

V2NIM_ERROR_CODE_SERVER_INTERNAL_ERROR 

服务器内部错误 / internal server error

V2NIM_ERROR_CODE_SERVER_BUSY 

服务器繁忙 / server busy

V2NIM_ERROR_CODE_APP_UNREACHABLE 

app 服务不可达 / app server unreachable

V2NIM_ERROR_CODE_SERVICE_UNAVAILABLE 

服务不可用 / service unavailable

V2NIM_ERROR_CODE_PROTOCOL_BLACKHOLE_FILTERED 

协议被黑洞规则过滤 / protocol filtered by blackhole rule

V2NIM_ERROR_CODE_NO_PERMISSION 

appid 没有权限调用该协议 / appid has no permission to call the protocol

V2NIM_ERROR_CODE_UNPACK_ERROR 

解包错误 / unpack error

V2NIM_ERROR_CODE_PACK_ERROR 

打包错误 / pack error

V2NIM_ERROR_CODE_IM_DISABLED 

IM 未开通 / IM disabled

V2NIM_ERROR_CODE_SERVICE_ADDRESS_INVALID 

服务地址非法 / service address invalid

V2NIM_ERROR_CODE_APPKEY_NOT_EXIST 

appkey 不存在 / appkey not exist

V2NIM_ERROR_CODE_BUNDLEID_CHECK_FAILED 

bundleid 校验失败 / bundleid check failed

V2NIM_ERROR_CODE_ILLEGAL_AUTH_TYPE 

非法的鉴权方式 / illegal auth type

V2NIM_ERROR_CODE_ACCOUNT_NOT_EXIST 

用户不存在 / account not exist

V2NIM_ERROR_CODE_ACCOUNT_ALREADY_EXIST 

用户已存在 / account already exists

V2NIM_ERROR_CODE_ACCOUNT_CHAT_BANNED 

用户被禁言 / account chat banned

V2NIM_ERROR_CODE_ACCOUNT_BANNED 

用户被禁用 / account banned

V2NIM_ERROR_CODE_ACCOUNT_IN_BLOCK_LIST 

用户被拉黑 / account in block list

V2NIM_ERROR_CODE_ACCOUNT_COUNT_LIMIT 

超过最大账号数 / limit of accounts exceeded

V2NIM_ERROR_CODE_ACCOUNT_OPERATION_NEED_RETRY 

账号请求需要重试 / account operation need retry

V2NIM_ERROR_CODE_LOGIN_RECORD_NOT_FOUND 

找不到设备登陆记录 / login record not found

V2NIM_ERROR_CODE_INVALID_TOKEN 

无效 token / invalid token

V2NIM_ERROR_CODE_ROBOT_NOT_ALLOWED 

机器人账号不得登录 / robot not allowed

V2NIM_ERROR_CODE_USER_PROFILE_NOT_EXIST 

用户资料不存在 / user profile not exist

V2NIM_ERROR_CODE_USER_PROFILE_HIT_ANTISPAM 

用户资料反垃圾 / user profile hit antispam

V2NIM_ERROR_CODE_PEER_FRIEND_LIMIT 

对方好友超限 / peer friend limit exceeded

V2NIM_ERROR_CODE_FRIEND_APPLICATION_NOT_EXIST 

好友申请不存在 / friend application not exist

V2NIM_ERROR_CODE_FRIEND_NOT_EXIST 

好友不存在 / friend not exist

V2NIM_ERROR_CODE_FRIEND_ALREADY_EXIST 

好友已存在 / friend already exist

V2NIM_ERROR_CODE_SELF_FRIEND_OPERATION_NOT_ALLOWED 

不允许对自己进行好友操作 / self friend operation not allowed

V2NIM_ERROR_CODE_FRIEND_LIMIT 

好友超限 / friend accounts limit exceeded

V2NIM_ERROR_CODE_FRIEND_OPERATION_RATE_LIMIT 

好友操作频率超限 / friend operation rate limit exceeded

V2NIM_ERROR_CODE_FRIEND_HIT_ANTISPAM 

好友反垃圾 / friend hit antispam

V2NIM_ERROR_CODE_MUTE_LIST_LIMIT 

静音列表超限 / mute list limit exceeded

V2NIM_ERROR_CODE_SELF_MUTE_OPERATION_NOT_ALLOWED 

不允许对自己进行静音操作 / self mute operation not allowed

V2NIM_ERROR_CODE_BLOCKLIST_LIMIT 

黑名单超限 / blocklist limit exceeded

V2NIM_ERROR_CODE_SELF_BLOCKLIST_OPERATION_NOT_ALLOWED 

不允许对自己进行黑名单操作 / self blocklist operation not allowed

V2NIM_ERROR_CODE_MESSAGING_FUNCTION_DISABLED 

该app未开启发消息功能 / messaging function disabled

V2NIM_ERROR_CODE_MESSAGE_HIT_ANTISPAM 

消息命中反垃圾 / message hit antispam

V2NIM_ERROR_CODE_MESSAGE_NOT_EXIST 

消息不存在 / message not exist

V2NIM_ERROR_CODE_REVOKE_MESSAGE_TO_SELF_NOT_ALLOWED 

不允许撤回发给自己的消息 / revoke message to self not allowed

V2NIM_ERROR_CODE_INVALID_TIME_RANGE 

无效的时间范围 / invalid time range

V2NIM_ERROR_CODE_REVOKE_THIRD_PARTY_MESSAGE_NOT_ALLOWED 

不允许撤回第三方业务消息 / revoke third party message not allowed

V2NIM_ERROR_CODE_TEAM_MARK_READ_FAILED 

由于群成员过多导致标记已读失败,消息发送失败 / sending message failed for marking message read failed for too many team members

V2NIM_ERROR_CODE_SENDER_OR_MANAGER_PERMISSION_ONLY_REVOKE 

仅允许发送者或管理员撤回消息 / only sender or manager can revoke message

V2NIM_ERROR_CODE_HIGH_PRIORITY_MESSAGE_RATE_LIMIT 

高优消息超过频控限制 / rate limit of high-priority messages exceeded

V2NIM_ERROR_CODE_ACK_MESSAGE_BE_HIGH_PRIORITY 

ack消息必须是高优消息 / ack message should be high-priority

V2NIM_ERROR_CODE_DUPLICATE_CLIENT_MESSAGE_ID 

消息ID重复 / duplicate client message ID

V2NIM_ERROR_CODE_SHORT_TO_LONG_URL_FAILED 

短链转长链失败 / short to long URL failed

V2NIM_ERROR_CODE_URL_INVALID 

无效 URL / URL invalid

V2NIM_ERROR_CODE_DURATION_OUT_OF_RANGE 

duration 超出范围 / duration out of range

V2NIM_ERROR_CODE_GET_FILE_META_INFO_FAILED 

获取文件 meta 信息失败 / get file meta info failed

V2NIM_ERROR_CODE_AUDIO_FILE_SIZE_LIMIT 

音频文件大小超限 / audio file size limit exceeded

V2NIM_ERROR_CODE_VOICE_TO_TEXT_TIMEOUT 

语音转文字超时 / voice to text timeout

V2NIM_ERROR_CODE_VOICE_TO_TEXT_FAILED 

语音转文字失败 / voice to text failed

V2NIM_ERROR_CODE_REVOKE_EXCEED_TIME_LIMIT 

撤回消息超过时间限制 / revoke message exceeded time limit

V2NIM_ERROR_CODE_REVOKE_MESSAGE_NOT_ALLOWED 

不允许撤回指定消息 / revoke message not allowed, not sender or manager

V2NIM_ERROR_CODE_FORCE_PUSH_LIST_LIMIT 

强推列表超过上限 / force push list limit exceeded

V2NIM_ERROR_CODE_TEAM_MESSAGE_RECEIPT_RATE_LIMIT 

群消息已读操作超频 / team message receipt rate limit exceeded

V2NIM_ERROR_CODE_SNAPSHOT_NOT_EXIST 

快照不存在 / snapshot not exist

V2NIM_ERROR_CODE_PIN_LIMIT 

PIN 数量超限 / PIN limit exceeded

V2NIM_ERROR_CODE_PIN_NOT_EXIST 

PIN 不存在 / PIN not exist

V2NIM_ERROR_CODE_QUICK_COMMENT_LIMIT 

快捷评论数量超限 / quick comment limit exceeded

V2NIM_ERROR_CODE_PIN_ALREADY_EXIST 

PIN 已存在 / PIN already exist

V2NIM_ERROR_CODE_RATE_LIMIT_FOR_MESSAGING_REACHED 

消息被流控 / rate limit for messaging exceeded

V2NIM_ERROR_CODE_TEAM_READ_RECEIPT_FUNCTION_DISABLED 

该app未开启群消息已读功能 / read receipt for team messages function disabled

V2NIM_ERROR_CODE_P2P_READ_RECEIPT_FUNCTION_DISABLED 

该app未开启单聊消息已读功能 / read receipt for p2p messages function disabled

V2NIM_ERROR_CODE_QUICK_COMMENT_FUNCTION_DISABLED 

该app未开启快捷评论功能 / quick comment function disabled

V2NIM_ERROR_CODE_PIN_FUNCTION_DISABLED 

该app未开启消息PIN功能 / PIN function disabled

V2NIM_ERROR_CODE_DELETE_SELF_MESSAGE_NOT_ALLOWED 

不允许删除发给自己的消息 / delete self message not allowed

V2NIM_ERROR_CODE_NOT_CHATBOT_ACCOUNT 

不是机器人账号 / s is not chatbot account

V2NIM_ERROR_CODE_MESSAGE_SENSE_REQUIRED 

不允许发送方和接收方均无感知 / sender or receiver must sense message

V2NIM_ERROR_CODE_TEAM_MESSAGE_READ_RECEIPT_DISABLED 

群消息已读功能未开启 / read receipt for team messages function disabled

V2NIM_ERROR_CODE_TEAM_READ_RECEIPT_RECORD_NOT_FOUND 

群消息已读记录未找到 / read receipt record for the team message not found

V2NIM_ERROR_CODE_VOICE_TO_TEXT_FUNCTION_DISABLED 

语音转文字功能未开通 / voice to text function disabled

V2NIM_ERROR_CODE_SERVER_SEARCH_FUNCTION_DISABLED 

云端搜索功能未开通 / server search function disabled

V2NIM_ERROR_CODE_ONEWAY_DELETE_FUNCTION_DISABLED 

单向删除功能未开通 / one-way delete function disabled

V2NIM_ERROR_CODE_DONT_ACTIVATE_UPDATE_MESSAGE 

更新消息功能未开通 / update message function disabled

V2NIM_ERROR_CODE_DONT_ALLOW_UPDATE_MESSAGE_TYPE 

该消息类型不允许更新 / update message type not allowed

V2NIM_ERROR_CODE_DONT_ALLOW_UPDATE_MESSAGE_PARAMETER 

该消息参数不允许更新 / update message parameter not allowed

V2NIM_ERROR_CODE_DONT_ALLOW_UPDATE_MESSAGE 

不允许更新消息 / update message not allowed

V2NIM_ERRPR_CODE_ONEWAY_DELETION_NOT_ALLOW_FOR_TARGET_MESSAGES 

定向消息不允许单向删除 / one-way deletion is not allowed for target messages.

V2NIM_ERRPR_CODE_SENDER_CANNOT_INCLUDED_IN_TARGET_LIST 

定向列表包含消息发送者 / The message sender cannot be included in the target list.

V2NIM_ERROR_CODE_ROBOT_CANNOT_SEND_TARGET_MESSAGE 

数字人消息不能是定向消息 / robot can not send target message

V2NIM_ERROR_CODE_PIN_TARGET_MESSAGE_NOT_ALLOWED 

不支持PIN定向消息 / Pin target message is not allowed

V2NIM_ERROR_CODE_TARGET_MESSAGE_NOT_ALLOWED_REPLY 

定向消息不支持回复 / Target message not allowed replay

V2NIM_ERROR_CODE_TARGET_MESSAGE_NOT_ALLOWED_QUICK_COMMENT 

定向消息不支持快捷评论 / Target message not allowed quick comment

V2NIM_ERROR_CODE_TEAM_NOT_EXIST 

群不存在 / team not exist

V2NIM_ERROR_CODE_GET_ONLINE_USERS_COUNT_DISABLED 

获取在线人数功能未开启 / get online users count disabled

V2NIM_ERROR_CODE_ALL_TEAM_MEMBERS_CHAT_BANNED 

群全体禁言 / all team members chat banned

V2NIM_ERROR_CODE_ASSIGN_TEAM_OWNER_MANAGER_ROLE_NOT_ALLOWED 

不允许添加群主为管理员 / assign team owner manager role not allowed

V2NIM_ERROR_CODE_EXTENDED_SUPER_TEAM_LIMIT 

大容量超大群数量超限 / extended super team limit

V2NIM_ERROR_CODE_CREATED_TEAM_LIMIT 

创建群组超过上限 / created team limit

V2NIM_ERROR_CODE_TEAM_INVITATION_LIMIT 

群人数超过上限 / team invitation limit

V2NIM_ERROR_CODE_TEAM_HIT_ANTISPAM 

群组反垃圾 / team hit antispam

V2NIM_ERROR_CODE_TEAM_OPERATION_NEED_RETRY 

群组请求需要重试 / team operation need retry

V2NIM_ERROR_CODE_NOT_ADVANCED_TEAM 

非高级群 / not advanced team

V2NIM_ERROR_CODE_TEAM_MANAGER_LIMIT 

管理员超限 / team manager limit exceeded

V2NIM_ERROR_CODE_EXTENDED_SUPER_TEAM_LIMIT_NOT_CONFIGURED 

未配置大容量超大群的数量 / extended super team limit not configured

V2NIM_ERROR_CODE_JOINED_TEAM_LIMIT 

加入群组超过上限 / joined team limit exceeded

V2NIM_ERROR_CODE_TEAM_NORMAL_MEMBER_CHAT_BANNED 

群普通成员禁言 / team normal member chat banned

V2NIM_ERROR_CODE_INVITED_ACCOUNT_NOT_FRIEND 

被邀请者非好友关系 / invited account not friend

V2NIM_ERROR_CODE_REJECT_ALL_TEAM_APPLICATIONS 

拒绝所有入群申请 / reject all team applications

V2NIM_ERROR_CODE_TEAM_MEMBERS_COUNT_LIMIT 

不允许创建超出 s 人的群 / create team with more than s users not allowed

V2NIM_ERROR_CODE_OPERATOR_ALREADY_OWN_TEAM 

当前操作者已是群主 / operator is already team owner

V2NIM_ERROR_CODE_SUPER_TEAM_SERVICE_DISABLED 

超大群服务未开通 / super team service disabled

V2NIM_ERROR_CODE_CREATE_EXTENDED_SUPER_TEAM_NOT_ALLOWED 

不允许创建大容量超大群 / create extended super team not allowed

V2NIM_ERROR_CODE_TEAM_PER_QUERY_LIMIT 

查询群的数量超限 / team limit per query exceeded

V2NIM_ERROR_CODE_TARGETING_MESSAGE_FOR_TEAM_DISABLED 

群定向消息功能未开启 / Targeting messages for group chat is disabled.

V2NIM_ERROR_CODE_INCLUSIVE_AS_FALSE_NOT_ALLOWED_FOR_SUPER_TEAM 

超级群定向消息不支持反选 / Setting 'inclusive' to false for super teams is not allowed.

V2NIM_ERROR_CODE_CANNOT_MAKE_SUPER_TEAM_MESSAGE_VISIBLE_TO_NEW_MEMBERS 

超级群定向消不支持新成员可见 / Cannot make super team targeted messages visible to new members.

V2NIM_ERROR_CODE_CANNOT_ALLOW_TARGETED_MESSAGES_INCLUSIVE_TO_NEW_MEMBERS 

定向消息成员正选不支持新成员可见 / Cannot allow targeted messages inclusive to new members.

V2NIM_ERROR_CODE_CHAT_BAN_LIST_CONTAIN_NOT_TEAM_MEMBER 

禁言列表包含非群成员 / list of chat banned users contains non team members

V2NIM_ERROR_CODE_CHAT_BAN_LIST_CONTAIN_OPERATOR 

禁言列表包含操作人 / list of chat banned users contains the operator

V2NIM_ERROR_CODE_CHAT_BAN_LIST_CONTAIN_TEAM_OWNER 

禁言列表包含群主 / list of chat banned users contains the team owner

V2NIM_ERROR_CODE_OPERATION_ON_TEAM_MANAGER_NOT_ALLOWED 

不允许操作管理员 / operation on team manager not allowed

V2NIM_ERROR_CODE_NO_TEAM_INVITE_PERMISSION 

没有群邀请权限 / no team invite permission

V2NIM_ERROR_CODE_TEAM_OWNER_QUIT_NOT_ALLOWED 

群主不允许退群 / team owner quit not allowed

V2NIM_ERROR_CODE_TEAM_OWNER_IN_KICK_LIST 

群被踢列表包含群主 / list of kicked user contains the team owner

V2NIM_ERROR_CODE_INVITE_ROBOT_ACCOUNT_NOT_ALLOWED 

不允许邀请机器人账号进群 / invite robot account not allowed

V2NIM_ERROR_CODE_KICK_OPERATOR_NOT_ALLOWED 

被踢的群成员列表中包含操作者 / kick operator not allowed

V2NIM_ERROR_CODE_TEAM_MEMBER_ALREADY_EXIST 

群成员已存在 / team member already exist

V2NIM_ERROR_CODE_TEAM_MEMBER_CAN_NOT_MODIFY_SELF 

不允许操作自己 / operation on self not allowed

V2NIM_ERROR_CODE_TEAM_INVITATION_OR_APPLICATION_NOT_EXIST 

群邀请或申请记录不存在 / team invitation or application not exist

V2NIM_ERROR_CODE_OPERATION_ON_TEAM_OWNER_NOT_ALLOWED 

不允许操作群主 / operation on team owner not allowed

V2NIM_ERROR_CODE_TEAM_MEMBER_NOT_EXIST 

群成员不存在 / team member not exist

V2NIM_ERROR_CODE_TEAM_MEMBER_CHAT_BANNED 

群成员被禁言 / team member chat banned

V2NIM_ERROR_CODE_TEAM_OWNER_OPERATION_PERMISSION_REQUIRED 

仅允许群主操作 / team owner operation permission required

V2NIM_ERROR_CODE_TEAM_OWNER_OR_MANAGER_OPERATION_PERMISSION_REQUIRED 

仅允许群主或管理员操作 / team owner or manager operation permission required

V2NIM_ERROR_CODE_TEAM_MEMBER_CONCURRENT_OPERATION_FAILED 

并发操作群成员失败 / team member concurrent operation failed

V2NIM_ERROR_CODE_TEAM_MEMBER_HIT_ANTISPAM 

群成员反垃圾 / team member hit antispam

V2NIM_ERROR_CODE_FORCED_PUSH_LIST_INCLUDES_NON_TARGETED_ACCOUNTS 

强推列表包含非定向成员 / The forced push list includes non-targeted accounts.

V2NIM_ERROR_CODE_ACCOUNTS_FOR_CONVERSATIONS_NOT_UNIQUE 

会话所属账号不唯一 / accounts for conversations not unique

V2NIM_ERROR_CODE_CONVERSATION_AND_ACCOUNT_MISMATCH 

会话和账号不匹配 / conversation and account mismatch

V2NIM_ERROR_CODE_CONVERSATION_STICK_TOP_LIMIT 

会话置顶数量超限 / conversation stick top limit

V2NIM_ERROR_CODE_CONVERSATION_BELONGED_GROUP_LIMIT 

会话所属会话分组数量超限 / conversation belonged group limit

V2NIM_ERROR_CODE_CONVERSATION_NOT_EXIST 

会话不存在 / conversation not exist

V2NIM_ERROR_CODE_CONVERSATION_OPERATION_NEED_RETRY 

会话请求需要重试 / conversation operation need retry

V2NIM_ERROR_CODE_BROADCASTING_NOTIFICATION_DISABLED 

广播通知 广播通知未开启 / broadcasting notification service disabled

V2NIM_ERROR_CODE_BROADCASTING_NOTIFICATION_NOT_EXIST 

广播通知不存在 / broadcasting notification not exist

V2NIM_ERROR_CODE_GET_CHATROOM_LINK_FAILED 

自定义通知

聊天室 获取有效的聊天室连接地址失败 / failed to get chatroom link

V2NIM_ERROR_CODE_IM_CONNECTION_ABNORMAL 

IM 连接状态异常 / IM connection abnormal

V2NIM_ERROR_CODE_CHATROOM_NOT_EXIST 

聊天室不存在 / chatroom not exist

V2NIM_ERROR_CODE_CHATROOM_CLOSED 

聊天室已关闭 / chatroom closed

V2NIM_ERROR_CODE_CHATROOM_REPEATED_OPERATION 

聊天室重复操作 / operation on chatroom repeated

V2NIM_ERROR_CODE_CHATROOM_SERVICE_DISABLED 

聊天室服务未开通 / chatroom service disabled

V2NIM_ERROR_CODE_ALL_CHATROOM_MEMBERS_CHAT_BANNED 

聊天室全体禁言 / all chatroom members chat banned

V2NIM_ERROR_CODE_CHATROOM_INFO_HIT_ANTISPAM 

聊天室信息命中反垃圾 / chatroom info hit antispam

V2NIM_ERROR_CODE_CHATROOM_ILLEGAL_AUTH_TYPE 

非法的聊天室鉴权方式 / chatroom illegal auth type

V2NIM_ERROR_CODE_IDENTICAL_FIELD_VALUES 

参数与现有聊天室属性一致,无需更新 / identical field values

V2NIM_ERROR_CODE_CHATROOM_MANAGER_OPERATION_REQUIRED 

仅允许聊天室管理员操作 / chatroom manager operation permission required

V2NIM_ERROR_CODE_CHATROOM_COUNT_LIMIT 

聊天室数量超过限制 / chatroom count limit exceeded

V2NIM_ERROR_CODE_NOTIFICATION_FOR_MEMBER_IN_OUT_CHATROOM_DISALED 

聊天室成员进出通知功能未开启 / notification for joining or leaving chatrooms disabled

V2NIM_ERROR_CODE_CHATROOM_TEMP_CHAT_BANNED 

聊天室被临时禁言 / chatroom temporarily chat banned

V2NIM_ERROR_CODE_CHATROOM_TAGGED_MEMBERS_CHAT_BANNED 

聊天室标签成员被禁言 / chatroom tagged members chat banned

V2NIM_ERROR_CODE_CHATROOM_CLOSING 

聊天室正在关闭,禁止开启 / chat room closing, reopen not allowed

V2NIM_ERROR_CODE_CHATROOM_BROADCASTING_NOTIFICATION_HIT_ANTISPAM 

广播通知命中反垃圾 / chatroom broadcasting notification hit antispam

V2NIM_ERROR_CODE_CHATROOM_BROADCASTING_NOTIFICATION_DISABLED 

广播通知服务未开启 / broadcasting notification service disabled

V2NIM_ERROR_CODE_CHATROOM_MEMBER_NOT_EXIST 

聊天室成员不存在 / chatroom member not exist

V2NIM_ERROR_CODE_CHATROOM_MEMBER_REPEATED_OPERATION 

聊天室成员重复操作 / chatroom member repeated operation

V2NIM_ERROR_CODE_CHATROOM_MEMBER_CHAT_BANNED 

聊天室成员禁言 / chatroom member chat banned

V2NIM_ERROR_CODE_ACCOUNT_IN_CHATROOM_BLOCK_LIST 

账号在聊天室黑名单中 / account in chatroom block list

V2NIM_ERROR_CODE_CHATROOM_OWNER_OPERATION_PERMISSION_REQUIRED 

仅允许聊天室所有者操作 / chatroom owner operation permission required

V2NIM_ERROR_CODE_OPERATOR_IN_CHATROOM_MEMBER_OPERATION_LIST 

聊天室成员操作列表包含操作者 / operator in chatroom member operation list

V2NIM_ERROR_CODE_CHATROOM_OWNER_OR_MANAGER_OPERATION_PERMISSION_REQUIRED 

仅允许聊天室所有者或管理员操作 / chatroom owner or manager operation permission required

V2NIM_ERROR_CODE_CHATROOM_MEMBER_LIMIT 

聊天室成员数量超限 / chatroom member limit

V2NIM_ERROR_CODE_CHATROOM_MEMBER_CONCURRENT_OPERATION_FAILED 

并发操作聊天室成员失败 / chatroom member concurrent operation failed

V2NIM_ERROR_CODE_CHATROOM_MEMBER_INFO_HIT_ANTISPAM 

聊天室成员命中反垃圾 / chatroom member info hit antispam

V2NIM_ERROR_CODE_CHATROOM_MEMBER_ALREADY_DELETED 

聊天室成员已删除 / Member: s was already deleted

V2NIM_ERROR_CODE_CHATROOM_MEMBER_IN_BLOCKLIST_CHAT_BANNED_LIST 

目标账号在禁言或黑名单列表中 / target account in blocklist or chat banned list of chatroom

V2NIM_ERROR_CODE_ANONYMOUS_MEMBER_OPERATION_FORBIDDEN 

匿名成员禁止操作 / anonymous member operation forbidden

V2NIM_ERROR_CODE_CHATROOM_TARGET_MEMBER_OFFLINE 

目标成员帐号不在线 / Target chatroom member offline

V2NIM_ERROR_CODE_CONVERSATION_GROUP_NOT_EXIST 

会话分组不存在 / conversation group not exist

V2NIM_ERROR_CODE_CONVERSATION_GROUP_LIMIT 

会话分组数量超限 / conversation group limit

V2NIM_ERROR_CODE_CONVERSATIONS_IN_GROUP_LIMIT 

会话分组中的会话数量超限 / conversations in group limit

V2NIM_ERROR_CODE_COLLECTION_LIMIT 

收藏数量超限 / collection limit exceeded

V2NIM_ERROR_CODE_COLLECTION_NOT_EXIST 

收藏不存在 / collection not exist

V2NIM_ERROR_CODE_COLLECTION_CONCURRENT_OPERATION_FAILED 

并发操作收藏失败 / collection concurrent operation failed

V2NIM_ERROR_CODE_CLIENT_ANTISPAM_FILE_NO_CHANGE 

客户端反垃圾文件没有发生变化 / client antispam file has no change

V2NIM_ERROR_CODE_CLIENT_ANTISPAM_FILE_SIZE_LIMIT 

客户端反垃圾文件大小超限 / client antispam file size limit exceeded

V2NIM_ERROR_CODE_INTERNAL 

内部错误 / internal error

V2NIM_ERROR_CODE_ILLEGAL_STATE 

非法状态 / illegal state

V2NIM_ERROR_CODE_MISUSE 

使用姿势错误 / misuse

V2NIM_ERROR_CODE_CANCELLED 

操作取消 / operation cancelled

V2NIM_ERROR_CODE_CALLBACK_FAILED 

回调失败 / callback failed

V2NIM_ERROR_CODE_INVALID_PARAMETER 

参数错误 / invalid parameter

V2NIM_ERROR_CODE_TIMEOUT 

超时 / timeout

V2NIM_ERROR_CODE_RESOURCE_NOT_EXIST 

资源不存在 / resource not exist

V2NIM_ERROR_CODE_RESOURCE_ALREADY_EXIST 

资源已存在 / resource already exist

V2NIM_ERROR_CODE_CONNECT_FAILED 

连接错误 / connect failed

V2NIM_ERROR_CODE_CONNECT_TIMEOUT 

连接超时 / connect timeout

V2NIM_ERROR_CODE_DISCONNECTED 

连接断开 / disconnected

V2NIM_ERROR_CODE_PROTOCOL_TIMEOUT 

协议超时 / protocol timeout

V2NIM_ERROR_CODE_PROTOCOL_SEND_FAILED 

协议发送失败 / protocol send failed

V2NIM_ERROR_CODE_REQUEST_FAILED 

请求失败 / request failed

V2NIM_ERROR_CODE_DATABASE_OPEN_FAILED 

数据库打开失败 / database open failed

V2NIM_ERROR_CODE_DATABASE_UPGRADE_FAILED 

数据库升级失败 / database upgrade failed

V2NIM_ERROR_CODE_DATABASE_WRITE_FAILED 

数据库写入失败 / database write failed

V2NIM_ERROR_CODE_DATABASE_READ_FAILED 

数据库读取失败 / database read failed

V2NIM_ERROR_CODE_FILE_NOT_FOUND 

文件不存在 / file not found

V2NIM_ERROR_CODE_FILE_CREATE_FAILED 

文件创建失败 / file create failed

V2NIM_ERROR_CODE_FILE_OPEN_FAILED 

文件打开失败 / file open failed

V2NIM_ERROR_CODE_FILE_WRITE_FAILED 

文件写入失败 / file write failed

V2NIM_ERROR_CODE_FILE_READ_FAILED 

文件读取失败 / file read failed

V2NIM_ERROR_CODE_FILE_UPLOAD_FAILED 

文件上传失败 / file upload failed

V2NIM_ERROR_CODE_FILE_DOWNLOAD_FAILED 

文件下载失败 / file download failed

V2NIM_ERROR_CODE_CLIENT_ANTISPAM 

客户端反垃圾 / client anti-spam

V2NIM_ERROR_CODE_SERVER_ANTISPAM 

云端反垃圾 / server anti-spam

V2NIM_ERROR_CODE_SIGNALLING_ROOM_EXIST 

信令房间已存在

V2NIM_ERROR_CODE_SIGNALLING_INVITE_ACCEPTED 

邀请已经被接受

V2NIM_ERROR_CODE_SIGNALLING_MEMBER_NOT_EXIST 

信令成员不存在

V2NIM_ERROR_CODE_SIGNALLING_MEMBER_ALREADY_EXIST 

信令成员已存在

V2NIM_ERROR_CODE_SIGNALLING_MEMBER_ALREADY_EXIST_AND_DEVICE_ID_NOT_UNIQUE 

信令成员已存在且设备 ID 不一致

V2NIM_ERROR_CODE_SIGNALLING_UID_NOT_UNIQUE 

UID 不唯一

V2NIM_ERROR_CODE_SIGNALLING_INVITE_REJECTED 

邀请已经被拒绝

V2NIM_ERROR_CODE_SIGNALLING_MEMBER_OFFLINE_BUT_PUSH_REACHABLE 

信令成员不在线,但推送可达

V2NIM_ERROR_CODE_SIGNALLING_MEMBER_OFFLINE_AND_PUSH_NOT_REACHABLE 

信令成员不在线,且推送不可达

V2NIM_ERROR_CODE_SIGNALLING_INVITE_NOT_EXIST 

邀请不存在

V2NIM_ERROR_CODE_SIGNALLING_ROOM_NOT_EXIST 

房间不存在

V2NIM_ERROR_CODE_SIGNALLING_ROOM_MEMBER_LIMIT 

房间成员数量超限

V2NIM_ERROR_CODE_SIGNALLING_SERVICE_DISABLED 

信令服务未开通

◆ V2NIMFCSAuthType

枚举值
V2NIM_FCS_AUTH_TYPE_NONE 

无鉴权

V2NIM_FCS_AUTH_TYPE_REFER 

refer 鉴权

V2NIM_FCS_AUTH_TYPE_TIME_TOKEN 

基于时间的 token 鉴权

V2NIM_FCS_AUTH_TYPE_URL_TOKEN 

基于 url 的 token 鉴权

V2NIM_FCS_AUTH_TYPE_CUSTOM 

custom 鉴权

◆ V2NIMFriendAddApplicationStatus

枚举值
V2NIM_FRIEND_ADD_APPLICATION_STATUS_INIT 

未处理

V2NIM_FRIEND_ADD_APPLICATION_STATUS_AGREED 

已同意

V2NIM_FRIEND_ADD_APPLICATION_STATUS_REJECTED 

已拒绝

V2NIM_FRIEND_ADD_APPLICATION_STATUS_EXPIRED 

已过期

V2NIM_FRIEND_ADD_APPLICATION_STATUS_DIRECT_ADD 

直接加为好友

自从
v10.3.0

◆ V2NIMFriendAddMode

枚举值
V2NIM_FRIEND_MODE_TYPE_ADD 

直接添加对方为好友

V2NIM_FRIEND_MODE_TYPE_APPLY 

请求添加对方为好友, 对方需要验证

◆ V2NIMFriendDeletionType

枚举值
V2NIM_FRIEND_DELETION_TYPE_BY_SELF 

自己删除好友

V2NIM_FRIEND_DELETION_TYPE_BY_PEER 

对方删除好友

◆ V2NIMIPProtocolVersion

枚举值
V2NIM_IP_PROTOCOL_VERSION_UNSPECIFIED 

未指定, 自动判断

V2NIM_IP_PROTOCOL_VERSION_IPV4 

IPv4

V2NIM_IP_PROTOCOL_VERSION_IPV6 

IPv6

◆ V2NIMKickedOfflineReason

枚举值
V2NIM_KICKED_OFFLINE_REASON_CLIENT_EXCLUSIVE 

多端登录互踢

V2NIM_KICKED_OFFLINE_REASON_SERVER 

被服务器踢下线

V2NIM_KICKED_OFFLINE_REASON_CLIENT 

被客户端踢下线

◆ V2NIMLastMessageState

枚举值
V2NIM_MESSAGE_STATE_DEFAULT 

默认

V2NIM_MESSAGE_STATE_REVOKED 

已撤回

V2NIM_MESSAGE_STATE_CLIENTFILL 

客户端回填

◆ V2NIMLoginAuthType

枚举值
V2NIM_LOGIN_AUTH_TYPE_DEFAULT 

默认

V2NIM_LOGIN_AUTH_TYPE_DYNAMIC_TOKEN 

动态token

V2NIM_LOGIN_AUTH_TYPE_THIRD_PARTY 

第三方

◆ V2NIMLoginClientChange

枚举值
V2NIM_LOGIN_CLIENT_CHANGE_LIST 

端列表刷新

V2NIM_LOGIN_CLIENT_CHANGE_LOGIN 

端登录

V2NIM_LOGIN_CLIENT_CHANGE_LOGOUT 

端登出

◆ V2NIMLoginClientType

枚举值
V2NIM_LOGIN_CLIENT_TYPE_UNKNOWN 

未知类型

V2NIM_LOGIN_CLIENT_TYPE_ANDROID 

Android

V2NIM_LOGIN_CLIENT_TYPE_IOS 

iOS

V2NIM_LOGIN_CLIENT_TYPE_PC 

PC

V2NIM_LOGIN_CLIENT_TYPE_WINPHONE 

Windows Phone

V2NIM_LOGIN_CLIENT_TYPE_WEB 

WEB

V2NIM_LOGIN_CLIENT_TYPE_RESTFUL 

REST API

V2NIM_LOGIN_CLIENT_TYPE_MAC_OS 

macOS

V2NIM_LOGIN_CLIENT_TYPE_HARMONY_OS 

HarmonyOS

◆ V2NIMLoginStatus

枚举值
V2NIM_LOGIN_STATUS_LOGOUT 

未登录

V2NIM_LOGIN_STATUS_LOGINED 

已登录

V2NIM_LOGIN_STATUS_LOGINING 

登录中

V2NIM_LOGIN_STATUS_UNLOGIN 

未登录

◆ V2NIMLoginType

枚举值
V2NIM_LOGIN_TYPE_IM 

IM 业务登录

V2NIM_LOGIN_TYPE_QCHAT 

QChat 业务登录

V2NIM_LOGIN_TYPE_IM_AND_QCHAT 

IM 和 QChat 业务融合登录

◆ V2NIMMessageAIStatus

枚举值
V2NIM_MESSAGE_AI_STATUS_UNKNOWN 

未知

V2NIM_MESSAGE_AI_STATUS_AT 

表示是一个艾特数字人的消息

V2NIM_MESSAGE_AI_STATUS_RESPONSE 

表示是数字人响应艾特的消息

◆ V2NIMMessageAttachmentType

枚举值
V2NIM_MESSAGE_ATTACHMENT_TYPE_UNIVERSAL 

通用

V2NIM_MESSAGE_ATTACHMENT_TYPE_IMAGE 

图片

V2NIM_MESSAGE_ATTACHMENT_TYPE_AUDIO 

语音

V2NIM_MESSAGE_ATTACHMENT_TYPE_VIDEO 

视频

V2NIM_MESSAGE_ATTACHMENT_TYPE_LOCATION 

位置

V2NIM_MESSAGE_ATTACHMENT_TYPE_TEAM_NOTIFICATION 

群通知

V2NIM_MESSAGE_ATTACHMENT_TYPE_FILE 

文件

V2NIM_MESSAGE_ATTACHMENT_TYPE_CALL 

话单

V2NIM_MESSAGE_ATTACHMENT_TYPE_CHATROOM_NOTIFICATION 

聊天室通知

V2NIM_MESSAGE_ATTACHMENT_TYPE_CHATROOM_MESSAGE_REVOKE_NOTIFICATION 

聊天室消息撤回

V2NIM_MESSAGE_ATTACHMENT_TYPE_CHATROOM_QUEUE_NOTIFICATION 

聊天室队列变更

V2NIM_MESSAGE_ATTACHMENT_TYPE_CHATROOM_CHAT_BANNED_NOTIFICATION 

聊天室禁言

V2NIM_MESSAGE_ATTACHMENT_TYPE_CHATROOM_MEMBER_ENTER_NOTIFICATION 

聊天室成员进入

V2NIM_MESSAGE_ATTACHMENT_TYPE_CHATROOM_MEMBER_ROLE_UPDATE_NOTIFICATION 

聊天室成员角色变更

V2NIM_MESSAGE_ATTACHMENT_TYPE_CUSTOM 

自定义消息

◆ V2NIMMessageAttachmentUploadState

枚举值
V2NIM_MESSAGE_ATTACHMENT_UPLOAD_STATE_UNKNOWN 

未知, 不存在附件或不需要上传的附件

V2NIM_MESSAGE_ATTACHMENT_UPLOAD_STATE_SUCCEEDED 

上传成功, 存在存储地址

V2NIM_MESSAGE_ATTACHMENT_UPLOAD_STATE_FAILED 

上传失败

V2NIM_MESSAGE_ATTACHMENT_UPLOAD_STATE_UPLOADING 

上传中

◆ V2NIMMessageClientAntispamOperatorType

枚举值
V2NIM_MESSAGE_CLIENT_ANTISPAM_OPERATOR_NONE 

无操作

V2NIM_MESSAGE_CLIENT_ANTISPAM_OPERATOR_REPLACE 

命中后, 本地替换

V2NIM_MESSAGE_CLIENT_ANTISPAM_OPERATOR_CLIENT_SHIELD 

命中后, 本地屏蔽, 该消息拒绝发送

V2NIM_MESSAGE_CLIENT_ANTISPAM_OPERATOR_SERVER_SHIELD 

命中后, 消息可以发送, 由服务器屏蔽

◆ V2NIMMessageNotificationType

枚举值
V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_INVITE 

群拉人

V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_KICK 

群踢人

V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_LEAVE 

退出群

V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_UPDATE_TINFO 

更新群信息

V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_DISMISS 

群解散

V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_APPLY_PASS 

群申请加入通过

V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_OWNER_TRANSFER 

移交群主

V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_ADD_MANAGER 

添加管理员

V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_REMOVE_MANAGER 

移除管理员

V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_INVITE_ACCEPT 

接受邀请进群

V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_BANNED_TEAM_MEMBER 

禁言群成员

V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_INVITE 

超大群群拉人

SSAGE_NOTIFICATION_TYPE_SUPER_TEAM_KICK 

超大群 V2NIM_M 群踢人

V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_LAVE 

超大群退出群

V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_UPDATE_TINFO 

超大群更新群信息

V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_DISMISS 

超大群群解散

V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_OWNER_TRANSFER 

超大群移交群主

V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_ADD_MANAGER 

超大群添加管理员

V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_REMOVE_MANAGER 

超大群移除管理员

V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_BANNED_TEAM_MEMBER 

超大群禁言群成员

V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_APPLY_PASS 

超大群群申请加入通过

V2NIM_MESSAGE_NOTIFICATION_TYPE_SUPER_TEAM_INVITE_ACCEPT 

超大群接受邀请进群

◆ V2NIMMessagePinState

枚举值
V2NIM_MESSAGE_PIN_STEATE_NOT_PINNED 

未 pin

V2NIM_MESSAGE_PIN_STEATE_PINNED 

已 PIN

V2NIM_MESSAGE_PIN_STEATE_UPDATED 

已 PIN 状态更新

◆ V2NIMMessageQuickCommentType

枚举值
V2NIM_MESSAGE_QUICK_COMMENT_TYPE_ADD 

添加快捷评论

V2NIM_MESSAGE_QUICK_COMMENT_TYPE_REMOVE 

删除快捷评论

◆ V2NIMMessageRevokeType

枚举值
V2NIM_MESSAGE_REVOKE_TYPE_UNDEFINED 

未定义

V2NIM_MESSAGE_REVOKE_TYPE_P2P_BOTHWAY 

点对点双向撤回

V2NIM_MESSAGE_REVOKE_TYPE_TEAM_BOTHWAY 

群双向撤回

V2NIM_MESSAGE_REVOKE_TYPE_SUPER_TEAM_BOTHWAY 

超大群双向撤回

V2NIM_MESSAGE_REVOKE_TYPE_P2P_ONEWAY 

点对点单向撤回

V2NIM_MESSAGE_REVOKE_TYPE_TEAM_ONEWAY 

群单向撤回

◆ V2NIMMessageSendingState

枚举值
V2NIM_MESSAGE_SENDING_STATE_UNKNOWN 

未知, 如果消息不是从这个端发送的

V2NIM_MESSAGE_SENDING_STATE_SUCCEEDED 

已发送

V2NIM_MESSAGE_SENDING_STATE_FAILED 

发送失败

V2NIM_MESSAGE_SENDING_STATE_SENDING 

发送中

◆ V2NIMMessageType

枚举值
V2NIM_MESSAGE_TYPE_TEXT 

文本

V2NIM_MESSAGE_TYPE_IMAGE 

图片

V2NIM_MESSAGE_TYPE_AUDIO 

语音

V2NIM_MESSAGE_TYPE_VIDEO 

视频

V2NIM_MESSAGE_TYPE_LOCATION 

位置

V2NIM_MESSAGE_TYPE_NOTIFICATION 

通知

V2NIM_MESSAGE_TYPE_FILE 

文件

V2NIM_MESSAGE_TYPE_TIP 

提醒

V2NIM_MESSAGE_TYPE_ROBOT 

机器人

V2NIM_MESSAGE_TYPE_CALL 

话单

V2NIM_MESSAGE_TYPE_CUSTOM 

自定义

◆ V2NIMP2PMessageMuteMode

枚举值
V2NIM_P2P_MESSAGE_MUTE_MODE_OFF 

点对点消息免打扰关闭

V2NIM_P2P_MESSAGE_MUTE_MODE_ON 

点对点消息免打扰开启

◆ V2NIMQueryDirection

枚举值
V2NIM_QUERY_DIRECTION_DESC 

按时间降序查询

V2NIM_QUERY_DIRECTION_ASC 

按时间升序查询

◆ V2NIMSDKLogLevel

枚举值
V2NIM_SDK_LOG_LEVEL_FATAL 

致命

V2NIM_SDK_LOG_LEVEL_ERROR 

错误

V2NIM_SDK_LOG_LEVEL_WARN 

警告

V2NIM_SDK_LOG_LEVEL_APP 

应用

V2NIM_SDK_LOG_LEVEL_PRO 

调试

◆ V2NIMSignallingChannelType

枚举值
V2NIM_SIGNALLING_CHANNEL_TYPE_UNKNOWN 

未知频道类型

V2NIM_SIGNALLING_CHANNEL_TYPE_AUDIO 

音频频道

V2NIM_SIGNALLING_CHANNEL_TYPE_VIDEO 

视频频道

V2NIM_SIGNALLING_CHANNEL_TYPE_CUSTOM 

自定义频道

◆ V2NIMSignallingEventType

信令频道事件类型

枚举值
V2NIM_SIGNALLING_EVENT_TYPE_UNKNOWN 

未知

V2NIM_SIGNALLING_EVENT_TYPE_CLOSE 

关闭信令频道房间

V2NIM_SIGNALLING_EVENT_TYPE_JOIN 

加入信令频道房间

V2NIM_SIGNALLING_EVENT_TYPE_INVITE 

邀请加入信令频道房间

V2NIM_SIGNALLING_EVENT_TYPE_CANCEL_INVITE 

取消邀请加入信令频道房间

V2NIM_SIGNALLING_EVENT_TYPE_REJECT 

拒绝邀请

V2NIM_SIGNALLING_EVENT_TYPE_ACCEPT 

接受邀请

V2NIM_SIGNALLING_EVENT_TYPE_LEAVE 

离开信令频道房间

V2NIM_SIGNALLING_EVENT_TYPE_CONTROL 

自定义控制命令

◆ V2NIMSortOrder

枚举值
V2NIM_SORT_ORDER_DESC 

按时间降序排序

V2NIM_SORT_ORDER_ASC 

按时间升序排序

◆ V2NIMSQLCipherVersion

枚举值
V2NIM_SQLCIPHER_VERSION_3 

SQLCipher 3

V2NIM_SQLCIPHER_VERSION_4 

SQLCipher 4

◆ V2NIMSymmetricEncryptionAlgorithm

枚举值
V2NIM_SYMMETRIC_ENCRYPTION_ALGORITHM_RC4 

RC4

V2NIM_SYMMETRIC_ENCRYPTION_ALGORITHM_AES128 

AES128

V2NIM_SYMMETRIC_ENCRYPTION_ALGORITHM_SM4 

SM4

◆ V2NIMTeamAgreeMode

枚举值
V2NIM_TEAM_AGREE_MODE_AUTH 

需要被邀请人同意

V2NIM_TEAM_AGREE_MODE_NO_AUTH 

不需要被邀请人同意

◆ V2NIMTeamChatBannedMode

枚举值
V2NIM_TEAM_CHAT_BANNED_MODE_NONE 

不禁言, 群组成员可以自由发言

V2NIM_TEAM_CHAT_BANNED_MODE_BANNED_NORMAL 

普通成员禁言, 不包括管理员,群主

V2NIM_TEAM_CHAT_BANNED_MODE_BANNED_ALL 

全员禁言, 群组所有成员都被禁言,该状态只能 OpenApi 发起

◆ V2NIMTeamInviteMode

枚举值
V2NIM_TEAM_INVITE_MODE_MANAGER 

群主, 管理员可以邀请其他人入群

V2NIM_TEAM_INVITE_MODE_ALL 

所有人都可以邀请其他人入群

◆ V2NIMTeamJoinActionStatus

枚举值
V2NIM_TEAM_JOIN_ACTION_STATUS_INIT 

未处理

V2NIM_TEAM_JOIN_ACTION_STATUS_AGREED 

已同意

V2NIM_TEAM_JOIN_ACTION_STATUS_REJECTED 

已拒绝

V2NIM_TEAM_JOIN_ACTION_STATUS_EXPIRED 

已过期

◆ V2NIMTeamJoinActionType

枚举值
V2NIM_TEAM_JOIN_ACTION_TYPE_APPLICATION 

申请入群

V2NIM_TEAM_JOIN_ACTION_TYPE_REJECT_APPLICATION 

管理拒绝申请入群

V2NIM_TEAM_JOIN_ACTION_TYPE_INVITATION 

邀请入群

V2NIM_TEAM_JOIN_ACTION_TYPE_REJECT_INVITATION 

成员拒绝邀请入群

◆ V2NIMTeamJoinMode

枚举值
V2NIM_TEAM_JOIN_MODE_FREE 

自由加入, 无须验证

V2NIM_TEAM_JOIN_MODE_APPLY 

需申请, 群主或管理同意后加入

V2NIM_TEAM_JOIN_MODE_PRIVATE 

私有群, 不接受申请, 仅能通过邀请方式入群

◆ V2NIMTeamMemberRole

枚举值
V2NIM_TEAM_MEMBER_ROLE_NORMAL 

普通成员

V2NIM_TEAM_MEMBER_ROLE_OWNER 

群组拥有者

V2NIM_TEAM_MEMBER_ROLE_MANAGER 

群组管理员

◆ V2NIMTeamMemberRoleQueryType

枚举值
V2NIM_TEAM_MEMBER_ROLE_QUERY_TYPE_ALL 

所有成员

V2NIM_TEAM_MEMBER_ROLE_QUERY_TYPE_MANAGER 

群组管理员(包括群主)

V2NIM_TEAM_MEMBER_ROLE_QUERY_TYPE_NORMAL 

普通成员

◆ V2NIMTeamMessageMuteMode

枚举值
V2NIM_TEAM_MESSAGE_MUTE_MODE_OFF 

群消息免打扰关闭

V2NIM_TEAM_MESSAGE_MUTE_MODE_ON 

群消息免打扰开启

V2NIM_TEAM_MESSAGE_MUTE_MODE_NORMAL_ON 

群主/管理员消息免打扰关闭

◆ V2NIMTeamType

枚举值
V2NIM_TEAM_TYPE_INVALID 

无效

V2NIM_TEAM_TYPE_NORMAL 

高级群

V2NIM_TEAM_TYPE_SUPER 

超大群

◆ V2NIMTeamUpdateExtensionMode

枚举值
V2NIM_TEAM_UPDATE_EXTENSION_MODE_MANAGER 

群主/管理员可以修改群组扩展字段

V2NIM_TEAM_UPDATE_EXTENSION_MODE_ALL 

所有人均可以修改群组扩展字段

◆ V2NIMTeamUpdateInfoMode

枚举值
V2NIM_TEAM_UPDATE_INFO_MODE_MANAGER 

群主/管理员可以修改群组资料

V2NIM_TEAM_UPDATE_INFO_MODE_ALL 

所有人都可以修改群组资料

◆ V2NIMUserStatusType

枚举值
V2NIM_USER_STATUS_TYPE_UNKNOWN 

未知

V2NIM_USER_STATUS_TYPE_LOGIN 

登录

V2NIM_USER_STATUS_TYPE_LOGOUT 

登出

V2NIM_USER_STATUS_TYPE_DISCONNECT 

断开连接

变量说明

◆ ATTACHMENT_KEY_BODY

const char* v2::ATTACHMENT_KEY_BODY = "body"
static

◆ ATTACHMENT_KEY_CALL_ACCOUNT_ID

const char* v2::ATTACHMENT_KEY_CALL_ACCOUNT_ID = "accid"
static

◆ ATTACHMENT_KEY_CALL_CHANNEL_ID

const char* v2::ATTACHMENT_KEY_CALL_CHANNEL_ID = "channelId"
static

◆ ATTACHMENT_KEY_CALL_DURATION

const char* v2::ATTACHMENT_KEY_CALL_DURATION = "duration"
static

◆ ATTACHMENT_KEY_CALL_DURATIONS

const char* v2::ATTACHMENT_KEY_CALL_DURATIONS = "durations"
static

◆ ATTACHMENT_KEY_CALL_STATUS

const char* v2::ATTACHMENT_KEY_CALL_STATUS = "status"
static

◆ ATTACHMENT_KEY_CALL_TYPE

const char* v2::ATTACHMENT_KEY_CALL_TYPE = "type"
static

◆ ATTACHMENT_KEY_DATA

const char* v2::ATTACHMENT_KEY_DATA = "data"
static

◆ ATTACHMENT_KEY_DURATION

const char* v2::ATTACHMENT_KEY_DURATION = "dur"
static

◆ ATTACHMENT_KEY_EXT

const char* v2::ATTACHMENT_KEY_EXT = "ext"
static

◆ ATTACHMENT_KEY_FROM_ACCID

const char* v2::ATTACHMENT_KEY_FROM_ACCID = "from"
static

◆ ATTACHMENT_KEY_HEIGHT

const char* v2::ATTACHMENT_KEY_HEIGHT = "h"
static

◆ ATTACHMENT_KEY_ID

const char* v2::ATTACHMENT_KEY_ID = "id"
static

◆ ATTACHMENT_KEY_IDS

const char* v2::ATTACHMENT_KEY_IDS = "ids"
static

◆ ATTACHMENT_KEY_LATITUDE

const char* v2::ATTACHMENT_KEY_LATITUDE = "lat"
static

◆ ATTACHMENT_KEY_LONGITUDE

const char* v2::ATTACHMENT_KEY_LONGITUDE = "lng"
static

◆ ATTACHMENT_KEY_MD5

const char* v2::ATTACHMENT_KEY_MD5 = "md5"
static

◆ ATTACHMENT_KEY_MUTE

const char* v2::ATTACHMENT_KEY_MUTE = "mute"
static

◆ ATTACHMENT_KEY_NAME

const char* v2::ATTACHMENT_KEY_NAME = "name"
static

◆ ATTACHMENT_KEY_PATH

const char* v2::ATTACHMENT_KEY_PATH = "path"
static

◆ ATTACHMENT_KEY_SCENE_NAME

const char* v2::ATTACHMENT_KEY_SCENE_NAME = "sceneName"
static

◆ ATTACHMENT_KEY_SIZE

const char* v2::ATTACHMENT_KEY_SIZE = "size"
static

◆ ATTACHMENT_KEY_TIME

const char* v2::ATTACHMENT_KEY_TIME = "time"
static

◆ ATTACHMENT_KEY_TINFO

const char* v2::ATTACHMENT_KEY_TINFO = "tinfo"
static

◆ ATTACHMENT_KEY_TITLE

const char* v2::ATTACHMENT_KEY_TITLE = "title"
static

◆ ATTACHMENT_KEY_TLIST

const char* v2::ATTACHMENT_KEY_TLIST = "tlist"
static

◆ ATTACHMENT_KEY_UINFOS

const char* v2::ATTACHMENT_KEY_UINFOS = "uinfos"
static

◆ ATTACHMENT_KEY_UPLOAD_STATE

const char* v2::ATTACHMENT_KEY_UPLOAD_STATE = "uploadState"
static

◆ ATTACHMENT_KEY_URL

const char* v2::ATTACHMENT_KEY_URL = "url"
static

◆ ATTACHMENT_KEY_WIDTH

const char* v2::ATTACHMENT_KEY_WIDTH = "w"
static

◆ CHATROOM_NOTIFICATION_KEY_ACCOUNT_ID

const char* v2::CHATROOM_NOTIFICATION_KEY_ACCOUNT_ID = "accountId"
static

◆ CHATROOM_NOTIFICATION_KEY_ANNOUNCEMENT

const char* v2::CHATROOM_NOTIFICATION_KEY_ANNOUNCEMENT = "announcement"
static

◆ CHATROOM_NOTIFICATION_KEY_AVATAR

const char* v2::CHATROOM_NOTIFICATION_KEY_AVATAR = "avatar"
static

◆ CHATROOM_NOTIFICATION_KEY_BLOCK_LIST

const char* v2::CHATROOM_NOTIFICATION_KEY_BLOCK_LIST = "blockList"
static

◆ CHATROOM_NOTIFICATION_KEY_CHAT_BANNED

const char* v2::CHATROOM_NOTIFICATION_KEY_CHAT_BANNED = "chatBanned"
static

◆ CHATROOM_NOTIFICATION_KEY_DATA

const char* v2::CHATROOM_NOTIFICATION_KEY_DATA = "data"
static

◆ CHATROOM_NOTIFICATION_KEY_ENTER_TIME

const char* v2::CHATROOM_NOTIFICATION_KEY_ENTER_TIME = "enterTime"
static

◆ CHATROOM_NOTIFICATION_KEY_EXT

const char* v2::CHATROOM_NOTIFICATION_KEY_EXT = "ext"
static

◆ CHATROOM_NOTIFICATION_KEY_EXTENSION

const char* v2::CHATROOM_NOTIFICATION_KEY_EXTENSION = "extension"
static

◆ CHATROOM_NOTIFICATION_KEY_ID

const char* v2::CHATROOM_NOTIFICATION_KEY_ID = "id"
static

◆ CHATROOM_NOTIFICATION_KEY_LIVE_URL

const char* v2::CHATROOM_NOTIFICATION_KEY_LIVE_URL = "liveUrl"
static

◆ CHATROOM_NOTIFICATION_KEY_MEMBER

const char* v2::CHATROOM_NOTIFICATION_KEY_MEMBER = "member"
static

◆ CHATROOM_NOTIFICATION_KEY_MEMBER_LEVEL

const char* v2::CHATROOM_NOTIFICATION_KEY_MEMBER_LEVEL = "memberLevel"
static

◆ CHATROOM_NOTIFICATION_KEY_MEMBER_ROLE

const char* v2::CHATROOM_NOTIFICATION_KEY_MEMBER_ROLE = "memberRole"
static

◆ CHATROOM_NOTIFICATION_KEY_MESSAGE_ID

const char* v2::CHATROOM_NOTIFICATION_KEY_MESSAGE_ID = "msgId"
static

◆ CHATROOM_NOTIFICATION_KEY_MESSAGE_TIME

const char* v2::CHATROOM_NOTIFICATION_KEY_MESSAGE_TIME = "msgTime"
static

◆ CHATROOM_NOTIFICATION_KEY_MUTE_DURATION

const char* v2::CHATROOM_NOTIFICATION_KEY_MUTE_DURATION = "muteDuration"
static

◆ CHATROOM_NOTIFICATION_KEY_MUTE_TTL

const char* v2::CHATROOM_NOTIFICATION_KEY_MUTE_TTL = "muteTtl"
static

◆ CHATROOM_NOTIFICATION_KEY_MUTED

const char* v2::CHATROOM_NOTIFICATION_KEY_MUTED = "muted"
static

◆ CHATROOM_NOTIFICATION_KEY_NICK

const char* v2::CHATROOM_NOTIFICATION_KEY_NICK = "nick"
static

◆ CHATROOM_NOTIFICATION_KEY_NOTIFY_TARGET_TAGS

const char* v2::CHATROOM_NOTIFICATION_KEY_NOTIFY_TARGET_TAGS = "notifyTargetTags"
static

◆ CHATROOM_NOTIFICATION_KEY_ONLINE_LIST

const char* v2::CHATROOM_NOTIFICATION_KEY_ONLINE_LIST = "onlineList"
static

◆ CHATROOM_NOTIFICATION_KEY_ONLINE_STAT

const char* v2::CHATROOM_NOTIFICATION_KEY_ONLINE_STAT = "onlineStat"
static

◆ CHATROOM_NOTIFICATION_KEY_OPERATOR

const char* v2::CHATROOM_NOTIFICATION_KEY_OPERATOR = "operator"
static

◆ CHATROOM_NOTIFICATION_KEY_OPERATOR_NICK

const char* v2::CHATROOM_NOTIFICATION_KEY_OPERATOR_NICK = "opeNick"
static

◆ CHATROOM_NOTIFICATION_KEY_PREVIOUS_ROLE

const char* v2::CHATROOM_NOTIFICATION_KEY_PREVIOUS_ROLE = "previousRole"
static

◆ CHATROOM_NOTIFICATION_KEY_QUEUE_CHANGE

const char* v2::CHATROOM_NOTIFICATION_KEY_QUEUE_CHANGE = "queueChange"
static

◆ CHATROOM_NOTIFICATION_KEY_QUEUE_LEVEL

const char* v2::CHATROOM_NOTIFICATION_KEY_QUEUE_LEVEL = "queueLevel"
static

◆ CHATROOM_NOTIFICATION_KEY_ROOM_ID

const char* v2::CHATROOM_NOTIFICATION_KEY_ROOM_ID = "roomId"
static

◆ CHATROOM_NOTIFICATION_KEY_ROOM_INFO

const char* v2::CHATROOM_NOTIFICATION_KEY_ROOM_INFO = "roomInfo"
static

◆ CHATROOM_NOTIFICATION_KEY_ROOM_NAME

const char* v2::CHATROOM_NOTIFICATION_KEY_ROOM_NAME = "roomName"
static

◆ CHATROOM_NOTIFICATION_KEY_TAGS

const char* v2::CHATROOM_NOTIFICATION_KEY_TAGS = "tags"
static

◆ CHATROOM_NOTIFICATION_KEY_TARGET

const char* v2::CHATROOM_NOTIFICATION_KEY_TARGET = "target"
static

◆ CHATROOM_NOTIFICATION_KEY_TARGET_NICK

const char* v2::CHATROOM_NOTIFICATION_KEY_TARGET_NICK = "tarNick"
static

◆ CHATROOM_NOTIFICATION_KEY_TARGET_TAG

const char* v2::CHATROOM_NOTIFICATION_KEY_TARGET_TAG = "targetTag"
static

◆ CHATROOM_NOTIFICATION_KEY_TEMP_CHAT_BANNED

const char* v2::CHATROOM_NOTIFICATION_KEY_TEMP_CHAT_BANNED = "tempChatBanned"
static

◆ CHATROOM_NOTIFICATION_KEY_TEMP_MUTED

const char* v2::CHATROOM_NOTIFICATION_KEY_TEMP_MUTED = "tempMuted"
static

◆ CHATROOM_NOTIFICATION_KEY_UPDATE_TIME

const char* v2::CHATROOM_NOTIFICATION_KEY_UPDATE_TIME = "updateTime"
static

◆ CHATROOM_NOTIFICATION_KEY_VALID

const char* v2::CHATROOM_NOTIFICATION_KEY_VALID = "valid"
static

◆ CHATROOM_STATUS_STR_MAPPING

const std::array v2::CHATROOM_STATUS_STR_MAPPING {"disconnected", "waiting", "connecting", "connected", "entering", "entered", "exited"}
static

◆ CLIENT_ANTISPAM_CACHE_FILE

const char* v2::CLIENT_ANTISPAM_CACHE_FILE = "client_antispam_cache"
static

◆ CONNECT_STATUS_STR_MAPPING

const std::array v2::CONNECT_STATUS_STR_MAPPING {"disconnected", "connected", "connecting", "waiting"}
static

◆ DATA_SYNC_STATE_STR_MAPPING

const std::array v2::DATA_SYNC_STATE_STR_MAPPING {"unknown", "waiting", "syncing", "completed"}
static

◆ DATA_SYNC_TYPE_STR_MAPPING

const std::array v2::DATA_SYNC_TYPE_STR_MAPPING {"unknown", "main", "team member", "super team member"}
static

◆ DEFAULT_LINK_TIMEOUT

const uint64_t v2::DEFAULT_LINK_TIMEOUT {3000}
static

◆ DEFAULT_PROTOCOL_TIMEOUT

const uint64_t v2::DEFAULT_PROTOCOL_TIMEOUT {30000}
static

◆ KICKED_OFFLINE_REASON_STR_MAPPING

const std::array v2::KICKED_OFFLINE_REASON_STR_MAPPING {"unknown", "client exclusive", "server", "client"}
static

◆ LOGIN_CLIENT_CHANGE_STR_MAPPING

const std::array v2::LOGIN_CLIENT_CHANGE_STR_MAPPING {"unknown", "list", "login", "logout"}
static

◆ LOGIN_STATUS_STR_MAPPING

const std::array v2::LOGIN_STATUS_STR_MAPPING {"logout", "logined", "logining", "unlogin"}
static

◆ SUPER_TEAM_NOTIFICATION_ID_OFFSET

const uint32_t v2::SUPER_TEAM_NOTIFICATION_ID_OFFSET {401}
static

◆ TEAM_NOTIFICATION_KEY_ATTACH

const char* v2::TEAM_NOTIFICATION_KEY_ATTACH = "attach"
static

◆ TEAM_NOTIFICATION_KEY_DATA

const char* v2::TEAM_NOTIFICATION_KEY_DATA = "data"
static

◆ TEAM_NOTIFICATION_KEY_ID

const char* v2::TEAM_NOTIFICATION_KEY_ID = "id"
static

◆ TEAM_NOTIFICATION_KEY_IDS

const char* v2::TEAM_NOTIFICATION_KEY_IDS = "ids"
static

◆ TEAM_NOTIFICATION_KEY_MUTE

const char* v2::TEAM_NOTIFICATION_KEY_MUTE = "mute"
static

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO = "team_info"
static

兼容旧数据库中被转换后的的群通知信息

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_AGREE_MODE

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_AGREE_MODE = "be_invite_mode"
static

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_ANNOUNCEMENT

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_ANNOUNCEMENT = "announcement"
static

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_CUSTOM

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_CUSTOM = "server_custom"
static

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_ICON

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_ICON = "icon"
static

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_INTRO

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_INTRO = "intro"
static

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_INVITE_MODE

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_INVITE_MODE = "invite_mode"
static

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_JOIN_MODE

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_JOIN_MODE = "join_mode"
static

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_MEMBER_LIMIT

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_MEMBER_LIMIT = "member_count"
static

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_MEMBER_MAX_COUNT

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_MEMBER_MAX_COUNT = "member_max_count"
static

兼容旧数据库中被转换后的的群通知信息

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_MUTE_TYPE

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_MUTE_TYPE = "mute_type"
static

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_NAME

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_NAME = "name"
static

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_SRV_EXTENSION

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_SRV_EXTENSION = "custom"
static

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_UPDATEEXT_MODE

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_UPDATEEXT_MODE = "update_custom_mode"
static

◆ TEAM_NOTIFICATION_KEY_TEAM_INFO_UPDATEINFO_MODE

const char* v2::TEAM_NOTIFICATION_KEY_TEAM_INFO_UPDATEINFO_MODE = "update_info_mode"
static

◆ TEAM_NOTIFICATION_KEY_TINFO

const char* v2::TEAM_NOTIFICATION_KEY_TINFO = "tinfo"
static

◆ TEAM_NOTIFICATION_KEY_TLIST

const char* v2::TEAM_NOTIFICATION_KEY_TLIST = "tlist"
static

◆ TEAM_NOTIFICATION_KEY_UINFOS

const char* v2::TEAM_NOTIFICATION_KEY_UINFOS = "uinfos"
static

◆ V2NIM_DEFAULT_CHATROOM_QUERY_LIMIT

const uint32_t v2::V2NIM_DEFAULT_CHATROOM_QUERY_LIMIT {100}
static

◆ V2NIM_DEFAULT_COLLECTION_LIST_LIMIT

const uint32_t v2::V2NIM_DEFAULT_COLLECTION_LIST_LIMIT {100}
static

◆ V2NIM_DEFAULT_FRIEND_APPLICATION_QUERY_LIMIT

const uint32_t v2::V2NIM_DEFAULT_FRIEND_APPLICATION_QUERY_LIMIT {50}
static

◆ V2NIM_DEFAULT_JOIN_ACTION_QUERY_LIMIT

const uint32_t v2::V2NIM_DEFAULT_JOIN_ACTION_QUERY_LIMIT {50}
static

◆ V2NIM_DEFAULT_LOG_RESERVE_DAYS

const uint32_t v2::V2NIM_DEFAULT_LOG_RESERVE_DAYS {30}
static

◆ V2NIM_DEFAULT_LOGIN_TIMEOUT

const uint32_t v2::V2NIM_DEFAULT_LOGIN_TIMEOUT {60000}
static

◆ V2NIM_DEFAULT_MESSAGE_LIST_LIMIT

const uint32_t v2::V2NIM_DEFAULT_MESSAGE_LIST_LIMIT {50}
static

◆ V2NIM_DEFAULT_SEARCH_MESSAGE_LIST_LIMIT

const uint32_t v2::V2NIM_DEFAULT_SEARCH_MESSAGE_LIST_LIMIT {10}
static

◆ V2NIM_DEFAULT_SUBSCRIBE_DURATION

const uint32_t v2::V2NIM_DEFAULT_SUBSCRIBE_DURATION {60}
static

◆ V2NIM_DEFAULT_TEAM_LIST_LIMIT

const uint32_t v2::V2NIM_DEFAULT_TEAM_LIST_LIMIT {100}
static

◆ V2NIM_DEFAULT_TEAM_MEMBER_LIST_LIMIT

const uint32_t v2::V2NIM_DEFAULT_TEAM_MEMBER_LIST_LIMIT {100}
static

◆ V2NIM_DEFAULT_THUMB_HEIGHT

const uint32_t v2::V2NIM_DEFAULT_THUMB_HEIGHT {0}
static

◆ V2NIM_DEFAULT_THUMB_WIDTH

const uint32_t v2::V2NIM_DEFAULT_THUMB_WIDTH {150}
static

◆ V2NIM_ERROR_DESC_MAPPING

const std::map<uint32_t, const char* const> v2::V2NIM_ERROR_DESC_MAPPING
static

◆ V2NIM_STORAGE_SCENE_NAME_DEFAULT_IM

const char* v2::V2NIM_STORAGE_SCENE_NAME_DEFAULT_IM {"nim_default_im"}
static

◆ V2NIM_STORAGE_SCENE_NAME_DEFAULT_PROFILE

const char* v2::V2NIM_STORAGE_SCENE_NAME_DEFAULT_PROFILE {"nim_default_profile_icon"}
static

◆ V2NIM_STORAGE_SCENE_NAME_DEFAULT_SYSTEM

const char* v2::V2NIM_STORAGE_SCENE_NAME_DEFAULT_SYSTEM {"nim_system_nos_scene"}
static

◆ V2NIM_STORAGE_SCENE_NAME_SECURITY_LINK

const char* v2::V2NIM_STORAGE_SCENE_NAME_SECURITY_LINK {"nim_security"}
static