其他
IChatroomRejoinedInfo
IProcessCode
IAsyncRes
IAsync
Res<T>: Pick<RCResult<T>, "code" | "data"> & { msg?: string }Type Parameters
IPromiseResult
Type Parameters
IErrorKeys
IErrorKeys: { errorKeys?: string[] }
Type declaration
Optional errorKeys?: string[]
IUpdateMyProfileFail
IUpdate
MyProfileFail: IErrorKeys & { errorKey: string }EnableLogL
IEventListener
IEventListener: ((...args: any[]) => void)
IRemoveChatRoomEntries
IChatRoomEntry
IChatRoomEntries
IRemoveChatRoomEntry
IStreamMessageResponseChunkData
IStreamMessageResponseChunkData: { content: string; fullContent: string }
Type declaration
content: string
fullContent: string
addToBlacklist
- addToBlacklist(userId: string): Promise<IAsyncRes<void>>
Parameters
Returns Promise<IAsyncRes<void>>
removeFromBlacklist
- removeFromBlacklist(userId: string): Promise<IAsyncRes<void>>
Parameters
Returns Promise<IAsyncRes<void>>
getBlacklist
Returns Promise<IAsyncRes<string[]>>
getBlacklistStatus
- getBlacklistStatus(userId: string): Promise<IAsyncRes<boolean>>
Parameters
Returns Promise<IAsyncRes<boolean>>
joinChatRoom
- joinChatRoom(targetId: string, options: { count: number; extra?: string }): Promise<IAsyncRes<void>>
Parameters
targetId: string
options: { count: number; extra?: string }
count: number
Optional extra?: string
Returns Promise<IAsyncRes<void>>
joinExistChatRoom
Parameters
targetId: string
options: { count: number; extra?: string }
count: number
Optional extra?: string
quitChatRoom
- quitChatRoom(targetId: string): Promise<IAsyncRes<void>>
Parameters
Returns Promise<IAsyncRes<void>>
getChatRoomInfo
- getChatRoomInfo(targetId: string, options?: { count?: number; order?: 0 | 1 | 2 }): Promise<IAsyncRes<IChatroomInfo>>
Parameters
targetId: string
Optional options: { count?: number; order?: 0 | 1 | 2 }
Optional count?: number
Optional order?: 0 | 1 | 2
setChatRoomEntry
Parameters
Returns Promise<IAsyncRes<void>>
setChatRoomEntries
Parameters
Returns Promise<IAsyncRes<void>>
forceSetChatRoomEntry
Parameters
Returns Promise<IAsyncRes<void>>
removeChatRoomEntry
Parameters
Returns Promise<IAsyncRes<void>>
removeChatRoomEntries
- removeChatRoomEntries(targetId: string, options: { entries: string[]; notificationExtra?: string }): Promise<IAsyncRes<void>>
Parameters
targetId: string
options: { entries: string[]; notificationExtra?: string }
entries: string[]
Optional notificationExtra?: string
Returns Promise<IAsyncRes<void>>
forceRemoveChatRoomEntry
Parameters
Returns Promise<IAsyncRes<void>>
getChatRoomEntry
- getChatRoomEntry(targetId: string, key: string): Promise<IAsyncRes<string | number | boolean>>
Parameters
targetId: string
key: string
Returns Promise<IAsyncRes<string | number | boolean>>
getAllChatRoomEntries
- getAllChatRoomEntries(targetId: string): Promise<IAsyncRes<{}>>
Parameters
Returns Promise<IAsyncRes<{}>>
getChatroomHistoryMessages
Parameters
bindRTCRoomForChatroom
Parameters
Returns Promise<IAsyncRes<void>>
connect
- connect(token: string, reconnectKickEnable?: boolean): Promise<IAsyncRes<{ userId: string }>>
Parameters
token: string
Optional reconnectKickEnable: boolean
Returns Promise<IAsyncRes<{ userId: string }>>
disconnect
- disconnect(closeDB?: boolean): Promise<void>
Parameters
Optional closeDB: boolean
Returns Promise<void>
getConversationList
Parameters
Optional options: { count?: number; startTime?: number; order?: 0 | 1 }
Optional count?: number
Optional startTime?: number
Optional order?: 0 | 1
Optional channelId: string
getConversation
Parameters
removeConversation
Parameters
Returns Promise<IAsyncRes<void>>
batchRemoveConversation
Parameters
Returns Promise<IAsyncRes<void>>
getTextMessageDraft
Parameters
Returns Promise<IAsyncRes<string>>
saveTextMessageDraft
Parameters
Returns Promise<IAsyncRes<void>>
clearTextMessageDraft
Parameters
Returns Promise<IAsyncRes<void>>
getTotalUnreadCount
Parameters
Optional includeMuted: boolean
Returns Promise<IAsyncRes<number>>
getTotalUnreadCountByLevels
Parameters
Returns Promise<IAsyncRes<number>>
getTotalUnreadMentionedCountByLevels
Parameters
Returns Promise<IAsyncRes<number>>
getUnreadCount
Parameters
Returns Promise<IAsyncRes<number>>
clearMessagesUnreadStatus
Parameters
Returns Promise<IAsyncRes<void>>
clearAllMessagesUnreadStatus
batchSetConversationNotificationLevel
Parameters
Returns Promise<IAsyncRes<void>>
setConversationNotificationStatus
Parameters
Returns Promise<IAsyncRes<void>>
getConversationNotificationLevel
Parameters
getConversationNotificationStatus
Parameters
getBlockedConversationList
setConversationTypeNotificationLevel
Parameters
Returns Promise<IAsyncRes<void>>
getConversationTypeNotificationLevel
Parameters
setConversationToTop
Parameters
isTop: boolean = true
isUpdateTime: boolean = true
Returns Promise<IAsyncRes<void>>
batchSetConversationToTop
Parameters
isTop: boolean
Optional isCreateConversation: boolean
Returns Promise<IAsyncRes<void>>
getTopConversationList
Parameters
Optional channelId: string
getUnreadConversationList
Parameters
getUnreadMentionedCount
Parameters
Returns Promise<IAsyncRes<number>>
getAllUnreadMentionedCount
- getAllUnreadMentionedCount(): Promise<IAsyncRes<number>>
Returns Promise<IAsyncRes<number>>
getAllConversationState
- getAllConversationState(): Promise<IAsyncRes<IConversationState[]>>
Returns Promise<IAsyncRes<IConversationState[]>>
getRealtimeConversations
Parameters
Optional options: { count?: number; startTime?: number; order?: 0 | 1 }
Optional count?: number
Optional startTime?: number
Optional order?: 0 | 1
getRealtimeConTotalUnreadCount
- getRealtimeConTotalUnreadCount(): Promise<IAsyncRes<number>>
Returns Promise<IAsyncRes<number>>
clearRealtimeConUnreadCount
Parameters
removeRealtimeConversations
Parameters
getRealtimeConUnreadCounts
Parameters
Returns Promise<IAsyncRes<IConversationUnreadCount[]>>
addEventListener
- addEventListener<T>(eventType: T, listener: EventListeners[T], target?: any): void
Type Parameters
Parameters
eventType: T
Optional target: any
Returns void
onceEventListener
- onceEventListener<T>(eventType: T, listener: EventListeners[T], target?: any): void
Type Parameters
Parameters
eventType: T
Optional target: any
Returns void
removeEventListener
- removeEventListener<T>(eventType: T, listener: EventListeners[T], target?: any): void
Type Parameters
Parameters
eventType: T
Optional target: any
Returns void
removeEventListeners
- removeEventListeners(eventType: string): void
Parameters
Returns void
clearEventListeners
- clearEventListeners(): void
Returns void
addFriend
Parameters
userId: string
directionType: BOTH
Optional extra: string
deleteFriends
- deleteFriends(userIds: string[], directionType: BOTH): Promise<IAsyncRes<void>>
Parameters
userIds: string[]
directionType: BOTH
Returns Promise<IAsyncRes<void>>
acceptFriendApplication
- acceptFriendApplication(userId: string): Promise<IAsyncRes<void>>
Parameters
Returns Promise<IAsyncRes<void>>
setFriendInfo
- setFriendInfo(userId: string, remark?: string, extProfile?: {}): Promise<IAsyncRes<IErrorKeys>>
Parameters
userId: string
remark: string = ''
extProfile: {} = {}
checkFriends
Parameters
userIds: string[]
directionType: BOTH
getFriends
Parameters
getFriendApplications
Parameters
getFriendsInfo
Parameters
searchFriendsInfo
Parameters
setFriendAddPermission
Parameters
Returns Promise<IAsyncRes<void>>
getFriendAddPermission
createGroup
Parameters
Optional inviteeUserIds: string[]
Returns Promise<IAsyncRes<ICreateGroupFail>>
updateGroupInfo
Parameters
getGroupsInfo
Parameters
kickGroupMembers
Parameters
groupId: string
userIds: string[]
Returns Promise<IAsyncRes<void>>
quitGroup
Parameters
Returns Promise<IAsyncRes<void>>
dismissGroup
- dismissGroup(groupId: string): Promise<IAsyncRes<void>>
Parameters
Returns Promise<IAsyncRes<void>>
transferGroupOwner
- transferGroupOwner(groupId: string, newOwnerId: string, quitGroup?: boolean, config?: IQuitGroupConfig): Promise<IAsyncRes<void>>
Parameters
groupId: string
newOwnerId: string
quitGroup: boolean = false
Returns Promise<IAsyncRes<void>>
addGroupManagers
- addGroupManagers(groupId: string, userIds: string[]): Promise<IAsyncRes<void>>
Parameters
groupId: string
userIds: string[]
Returns Promise<IAsyncRes<void>>
removeGroupManagers
- removeGroupManagers(groupId: string, userIds: string[]): Promise<IAsyncRes<void>>
Parameters
groupId: string
userIds: string[]
Returns Promise<IAsyncRes<void>>
getGroupMembersByRole
Parameters
getGroupMembers
Parameters
groupId: string
userIds: string[]
setGroupMemberInfo
- setGroupMemberInfo(groupId: string, userId: string, nickname: string, extra?: string): Promise<IAsyncRes<IErrorKeys>>
Parameters
groupId: string
userId: string
nickname: string
Optional extra: string
searchGroupMembers
Parameters
groupId: string
name: string
joinGroup
Parameters
inviteUsersToGroup
Parameters
groupId: string
userIds: string[]
acceptGroupInvite
- acceptGroupInvite(groupId: string, inviterId: string): Promise<IAsyncRes<void>>
Parameters
groupId: string
inviterId: string
Returns Promise<IAsyncRes<void>>
refuseGroupInvite
- refuseGroupInvite(groupId: string, inviterId: string, reason?: string): Promise<IAsyncRes<void>>
Parameters
groupId: string
inviterId: string
Optional reason: string
Returns Promise<IAsyncRes<void>>
acceptGroupApplication
- acceptGroupApplication(groupId: string, applicantId: string, inviterId?: string): Promise<IAsyncRes<IProcessCode>>
Parameters
groupId: string
applicantId: string
Optional inviterId: string
refuseGroupApplication
- refuseGroupApplication(groupId: string, applicantId: string, inviterId?: string, reason?: string): Promise<IAsyncRes<void>>
Parameters
groupId: string
applicantId: string
Optional inviterId: string
Optional reason: string
Returns Promise<IAsyncRes<void>>
getGroupApplications
Parameters
getJoinedGroupsByRole
Parameters
searchJoinedGroups
Parameters
getJoinedGroups
Parameters
setGroupRemark
- setGroupRemark(groupId: string, remark: string): Promise<IAsyncRes<void>>
Parameters
groupId: string
remark: string
Returns Promise<IAsyncRes<void>>
addGroupFollows
- addGroupFollows(groupId: string, userIds: string[]): Promise<IAsyncRes<void>>
Parameters
groupId: string
userIds: string[]
Returns Promise<IAsyncRes<void>>
removeGroupFollows
- removeGroupFollows(groupId: string, userIds: string[]): Promise<IAsyncRes<void>>
Parameters
groupId: string
userIds: string[]
Returns Promise<IAsyncRes<void>>
getGroupFollows
Parameters
init
Parameters
Returns void
destroy
Returns Promise<void>
getConnectionStatus
getServerTime
Returns number
getCurrentUserId
- getCurrentUserId(): string
Returns string
__addSDKVersion
- __addSDKVersion(name: string, version: string): void
Parameters
name: string
version: string
Returns void
getDeviceId
Returns string
installPlugin
- installPlugin<T, O>(plugin: IPluginGenerator<T, O>, options: O): T | null
Type Parameters
Parameters
plugin: IPluginGenerator<T, O>
options: O
Returns T | null
getMessage
Parameters
messageId: string | number
sendMessage
Parameters
sendTextMessage
Parameters
ISendBody
ISendFileMessageOptions
ISendImageMessageOptions
ISendSightMessageOptions
ISend
SightMessageOptions: { duration: number; thumbnail: string; name?: string } & ISendBodygetHistoryMessages
Parameters
getRemoteHistoryMessages
Parameters
sendReadReceiptMessage
- sendReadReceiptMessage(targetId: string, messageUId: string, timestamp: number, channelId?: string): Promise<IAsyncRes<void>>
Parameters
targetId: string
messageUId: string
timestamp: number
Optional channelId: string
Returns Promise<IAsyncRes<void>>
sendReadReceiptRequest
- sendReadReceiptRequest(targetId: string, messageUId: string, channelId?: string): Promise<IAsyncRes<void>>
Parameters
targetId: string
messageUId: string
Optional channelId: string
Returns Promise<IAsyncRes<void>>
sendReadReceiptResponse
- sendReadReceiptResponse(targetId: string, messageUIds: string[], channelId?: string): Promise<IAsyncRes<void>>
Parameters
targetId: string
messageUIds: string[]
Optional channelId: string
Returns Promise<IAsyncRes<void>>
sendReadReceiptResponseV2
- sendReadReceiptResponseV2(targetId: string, messageList?: {}, channelId?: string): Promise<IAsyncRes<void>>
Parameters
targetId: string
Optional messageList: {}
[senderUserId: string]: string[]
Optional channelId: string
Returns Promise<IAsyncRes<void>>
sendReadReceiptMessageV4
Parameters
endMsgUId: string
startMsgUId: string = ''
Returns Promise<IAsyncRes<void>>
getMessageReadReceiptV4
Parameters
batchGetMessageReadReceiptInfoV4
Parameters
recallMessage
Parameters
clearHistoryMessages
Parameters
Returns Promise<IAsyncRes<void>>
batchClearRemoteHistoryMessages
Parameters
Optional isDeleteLocal: boolean
Returns Promise<IAsyncRes<void>>
sendTypingStatusMessage
Parameters
typingContentType: string
getMessageReader
Parameters
targetId: string
messageUId: string
Optional channelId: string
getFirstUnreadMessage
Parameters
getFirstUnreadMessageInfo
Parameters
insertMessage
Parameters
getUnreadMentionedMessages
Parameters
searchMessages
Parameters
keyword: string
timestamp: number
count: number
Returns Promise<IAsyncRes<{ messages: IAReceivedMessage[]; count: number | undefined }>>
deleteLocalMessagesByTimestamp
Parameters
timestamp: number
cleanSpace: boolean
Returns Promise<IAsyncRes<void>>
clearMessages
Parameters
Returns Promise<IAsyncRes<void>>
searchConversationByContent
Parameters
keyword: string
Optional messageTypes: string[]
Optional channelId: string
clearUnreadCountByTimestamp
Parameters
Returns Promise<IAsyncRes<void>>
setMessageReceivedStatus
- setMessageReceivedStatus(messageId: number, receivedStatus: number): Promise<IAsyncRes<void>>
Parameters
messageId: number
receivedStatus: number
Returns Promise<IAsyncRes<void>>
requestStreamMessageContent
- requestStreamMessageContent(messageUId: string): Promise<RCResult>
Parameters
Returns Promise<RCResult>
CombineMessage
CombineV2MessageContent
CombineV2Message
CommandMessage
FileMessage
GIFMessage
GroupNotificationMessage
HQVoiceMessage
ImageMessage
InformationNotificationMessage
LocationMessage
ReferenceMessage
RichContentMessage
SightMessage
StreamMessage
TextMessage
VoiceMessage
MessageConstructor
Message
Constructor<T>: (new (content: T) => BaseMessage<T>)Type Parameters
setNotificationQuietHoursWithSetting
Parameters
Returns Promise<RCResult>
removeNotificationQuietHoursSetting
- removeNotificationQuietHoursSetting(): Promise<RCResult>
Returns Promise<RCResult>
getNotificationQuietHoursSetting
setProxy
Parameters
getProxy
testProxy
Parameters
unSubscribeUserStatus
Parameters
Returns Promise<IAsyncRes<void>>
getSubscribeUserList
Parameters
pageSize: number
offset: number
getSubscribeUserStatus
Parameters
updateMyUserProfile
Parameters
getUserProfiles
Parameters
getMyUserProfile
updateMyUserProfileVisibility
Parameters
Returns Promise<IAsyncRes<void>>
getMyUserProfileVisibility
searchUserProfileByUniqueId
Parameters
addTag
Parameters
Returns Promise<IAsyncRes<void>>
removeTag
- removeTag(tagId: string): Promise<IAsyncRes<void>>
Parameters
Returns Promise<IAsyncRes<void>>
updateTag
Parameters
Returns Promise<IAsyncRes<void>>
getTags
getTagsFromConversation
Parameters
addConversationsToTag
Parameters
Returns Promise<IAsyncRes<void>>
removeConversationsFromTag
Parameters
Returns Promise<IAsyncRes<void>>
removeTagsFromConversation
Parameters
Returns Promise<IAsyncRes<void>>
removeTagFromConversations
Parameters
Returns Promise<IAsyncRes<void>>
getConversationsFromTagByPage
Parameters
tagId: string
count: number
startTime: number
getUnreadCountByTag
- getUnreadCountByTag(tagId: string, containMuted: boolean): Promise<IAsyncRes<number | undefined>>
Parameters
tagId: string
containMuted: boolean
Returns Promise<IAsyncRes<number | undefined>>
setConversationToTopInTag
Parameters
tagId: string
isTop: boolean
Returns Promise<IAsyncRes<void>>
getUltraGroupList
Parameters
getBlockUltraGroupList
sendUltraGroupTypingStatus
Parameters
Returns Promise<IAsyncRes<void>>
getUltraGroupUnreadMentionedCountByTargetId
- getUltraGroupUnreadMentionedCountByTargetId(targetId: string, notificationLevels?: NotificationLevel[]): Promise<IAsyncRes<number>>
Parameters
Returns Promise<IAsyncRes<number>>
getUltraGroupDefaultNotificationLevel
Parameters
setUltraGroupDefaultNotificationLevel
Parameters
Returns Promise<IAsyncRes<void>>
getUltraGroupUnreadCountByTargetId
Parameters
Returns Promise<IAsyncRes<number>>
getAllUltraGroupUnreadCount
- getAllUltraGroupUnreadCount(): Promise<IAsyncRes<number>>
Returns Promise<IAsyncRes<number>>
getAllUltraGroupUnreadMentionedCount
- getAllUltraGroupUnreadMentionedCount(): Promise<IAsyncRes<number>>
Returns Promise<IAsyncRes<number>>
getUltraGroupUnreadMentionedMessages
Parameters
getUltraGroupFirstUnreadMessageTimestamp
Parameters
getUltraGroupUnreadInfoList
Parameters
createUploadTask
Parameters
stopUploadTask
- stopUploadTask(taskId: number): Promise<IAsyncRes<boolean>>
Parameters
Returns Promise<IAsyncRes<boolean>>
upload
Parameters
getFileToken
- getFileToken(fileType: FileType, fileName?: string, httpMethod?: "POST" | "PUT", queryString?: string): Promise<IAsyncRes<IUploadAuth & { qiniu: string; ossConfig: string }>>
Parameters
Optional fileName: string
Optional httpMethod: "POST" | "PUT"
Optional queryString: string
Returns Promise<IAsyncRes<IUploadAuth & { qiniu: string; ossConfig: string }>>
getDownloadAuth
- getDownloadAuth(url: string): Promise<IAsyncRes<{ deadline: number; token?: string; downloadAuthInfo?: IDownloadAuth }>>
Parameters
Returns Promise<IAsyncRes<{ deadline: number; token?: string; downloadAuthInfo?: IDownloadAuth }>>
getFileUrl
- getFileUrl(fileType: FileType, filename: string, saveName?: string, _?: { isBosRes: boolean; downloadUrl: string }, serverType?: UploadMethod): Promise<IAsyncRes<{ downloadUrl: string }>>
Parameters
filename: string
Optional saveName: string
Optional _: { isBosRes: boolean; downloadUrl: string }
isBosRes: boolean
downloadUrl: string
Returns Promise<IAsyncRes<{ downloadUrl: string }>>
Const ConnectType
ConnectType: { COMET: string; WEBSOCKET: string } = ...
Type declaration
COMET: string
WEBSOCKET: string
Const MessageType
MessageType: { TEXT: string; VOICE: string; HQ_VOICE: string; IMAGE: string; GIF: string; RICH_CONTENT: string; LOCATION: string; FILE: string; SIGHT: string; COMBINE: string; COMBINE_V2: string; CHRM_KV_NOTIFY: string; LOG_COMMAND: string; EXPANSION_NOTIFY: string; REFERENCE: string; RECALL_MESSAGE_TYPE: string } = ...
Type declaration
TEXT: string
VOICE: string
HQ_VOICE: string
IMAGE: string
GIF: string
RICH_CONTENT: string
LOCATION: string
FILE: string
SIGHT: string
COMBINE: string
COMBINE_V2: string
CHRM_KV_NOTIFY: string
LOG_COMMAND: string
EXPANSION_NOTIFY: string
REFERENCE: string
RECALL_MESSAGE_TYPE: string
MentionedInfo
MentionedInfo: { type?: 1 | 2; userIdList?: string[] }
Type declaration
Optional type?: 1 | 2
Optional userIdList?: string[]
IRecallMessageOptions
IRecallMessageOptions: Omit<IRecallMsgOptions, "pushContent">
IInitOption
IInit
Option: { appkey: string; logLevel?: LogLevel; logOutputLevel?: EnableLogL; logStdout?: any; navigators?: string[]; connectType?: "websocket" | "comet"; customCMP?: string[]; indexDBSwitch?: boolean; checkCA?: boolean; uploadDomain?: string; httpInMainProcess?: boolean; logExpireTime?: number; areaCode?: AreaCode; logServerUrl?: string; environment?: string }Type declaration
appkey: string
Optional logLevel?: LogLevel
Optional logOutputLevel?: EnableLogL
logStdout?:function
- logStdout(logLevel: LogLevel, content: string): void
Parameters
Returns void
Optional navigators?: string[]
Optional connectType?: "websocket" | "comet"
Optional customCMP?: string[]
Optional indexDBSwitch?: boolean
Optional checkCA?: boolean
Optional uploadDomain?: string
Optional httpInMainProcess?: boolean
Optional logExpireTime?: number
Optional areaCode?: AreaCode
Optional logServerUrl?: string
Optional environment?: string
GetHistoryMessageOption
GetHistoryMessageOption: { timestamp?: number; count?: number; order?: 0 | 1 }
Type declaration
Optional timestamp?: number
Optional count?: number
Optional order?: 0 | 1
GetHistoryMessageResult
EventListeners
EventListeners: { CONNECTING: any; CONNECTED: any; DISCONNECT: any; SUSPEND: any; MESSAGES: any; READ_RECEIPT_RECEIVED: any; MESSAGE_RECEIPT_REQUEST: any; MESSAGE_RECEIPT_RESPONSE: any; CONVERSATION: any; CHATROOM: any; EXPANSION: any; PULL_OFFLINE_MESSAGE_FINISHED: any; TAG: any; CONVERSATION_TAG: any; TYPING_STATUS: any; MESSAGE_BLOCKED: any; ULTRA_GROUP_ENABLE: any; OPERATE_STATUS: any; ULTRA_GROUP_MESSAGE_EXPANSION_UPDATED: any; ULTRA_GROUP_MESSAGE_MODIFIED: any; ULTRA_GROUP_MESSAGE_RECALLED: any; ULTRA_GROUP_CHANNEL_TYPE_CHANGE: any; ULTRA_GROUP_CHANNEL_DELETE: any; ULTRA_GROUP_CHANNEL_USER_KICKED: any; USER_GROUP_STATUS: any; PRIVATE_MESSAGE_DELIVERED: any; GROUP_MESSAGE_DELIVERED: any; MESSAGE_READ_RECEIPT_V4: any; SYNC_READ_STATUS: any; SUBSCRIBED_USER_STATUS_CHANGE: any; SUBSCRIBED_RELATION_CHANGE: any; SYNC_SUBSCRIBED_USER_STATUS_FINISHED: any; OWN_USER_PROFILE_CHANGED: any; GROUP_OPERATION: any; GROUP_INFO_CHANGED: any; GROUP_MEMBER_INFO_CHANGED: any; GROUP_APPLICATION_EVENT: any; GROUP_REMARK_CHANGED_SYNC: any; GROUP_FOLLOWS_CHANGED_SYNC: any; FRIEND_ADDED: any; FRIEND_DELETE: any; FRIEND_APPLICATION_STATUS_CHANGED: any; FRIEND_CLEARED: any; FRIEND_INFO_CHANGED_SYNC: any; DATABASE_UPGRADE_WILL_START: any; DATABASE_UPGRADING: any; DATABASE_UPGRADE_DID_COMPLETE: any; STREAM_MESSAGE_RESPONSE: any }
IStreamMessageResponseEventData
IStream
MessageResponseEventData: IInnerStreamMessageResponseEventData<IAReceivedMessage>
设置会话免打扰
支持按照 NotificationLevel 类型进行免打扰级别设置,级别描述如下:
5.3.0
设置会话免打扰示例: