RongIMLib - v5.12.4 -> RongIMLib - v5.14.0

新增

PushNotificationQuietHoursLevel

全局免打扰级别定义

enum PushNotificationQuietHoursLevel {
  PUSH_NOTIFICATION_QUIET_HOURS_LEVEL_DEFAULT = 0,
  PUSH_NOTIFICATION_QUIET_HOURS_LEVEL_MENTION_MESSAGE = 1,
  PUSH_NOTIFICATION_QUIET_HOURS_LEVEL_BLOCKED = 5
}

INotificationQuietHoursSetting

interface INotificationQuietHoursSetting {
  startTime: string,
  spanMinutes: number,
  level: PushNotificationQuietHoursLevel,
  timezone?: string
}

setNotificationQuietHoursWithSetting

function setNotificationQuietHoursWithSetting(opts: INotificationQuietHoursSetting): Promise<RCResult>

removeNotificationQuietHoursSetting

function removeNotificationQuietHoursSetting(): Promise<RCResult>

getNotificationQuietHoursSetting

function getNotificationQuietHoursSetting(): Promise<RCResult<INotificationQuietHoursSetting>>

移除

CombineV2Message



变更

ErrorCode

融云 IM 错误码

enum ErrorCode {
   INVALID_PARAMETER_TIMESTRING = 34224,   INVALID_PARAMETER_SPAN_MINUTES = 34283,   DNS_PROXY_TIMEOUT = 35051,   DNS_PROXY_ERROR = 35052,   DNS_PROXY_DATA_DESTRUCTUR_ERROR = 35053,}

IGroupInfoChanged

群组资料变更回调

interface IGroupInfoChanged {
   changedGroupInfo: IGroupInfo,   fullGroupInfo: IGroupInfo,}

IAsyncRes

异步任务结果结构

   type IAsyncRes<T = void> = unknown   type IAsyncRes<T = void> = Pick, code | data> & {
  msg?: string,
}

构建日志警告

[APICodeBuilder] ["nonsupport kindString:",1024,"CombineV2Message"]