全局免打扰级别定义
enum PushNotificationQuietHoursLevel {
PUSH_NOTIFICATION_QUIET_HOURS_LEVEL_DEFAULT = 0,
PUSH_NOTIFICATION_QUIET_HOURS_LEVEL_MENTION_MESSAGE = 1,
PUSH_NOTIFICATION_QUIET_HOURS_LEVEL_BLOCKED = 5
}
interface INotificationQuietHoursSetting {
startTime: string,
spanMinutes: number,
level: PushNotificationQuietHoursLevel,
timezone?: string
}
function setNotificationQuietHoursWithSetting(opts: INotificationQuietHoursSetting): Promise<RCResult>
function removeNotificationQuietHoursSetting(): Promise<RCResult>
function getNotificationQuietHoursSetting(): Promise<RCResult<INotificationQuietHoursSetting>>
融云 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,}
群组资料变更回调
interface IGroupInfoChanged {
changedGroupInfo: IGroupInfo, fullGroupInfo: IGroupInfo,}
异步任务结果结构
type IAsyncRes<T = void> = unknown type IAsyncRes<T = void> = Pick, code | data> & {
msg?: string,
}
[APICodeBuilder] ["nonsupport kindString:",1024,"CombineV2Message"]