@tencentcloud/chat-uikit-uniapp
Version:
TUIKit 是基于 IM SDK 实现的一套 UI 组件,其包含会话、聊天、群组、个人资料等功能,基于这些精心设计的 UI 组件,您可以快速构建优雅的、可靠的、可扩展的 Chat 应用。
50 lines (44 loc) • 1.23 kB
text/typescript
import { IConversationModel } from '@tencentcloud/chat-uikit-engine-lite';
export interface IOfflinePushInfoCreateParams {
conversation: IConversationModel;
payload?: any;
messageType: string;
}
export interface IOfflinePushApnsInfo {
sound?: string;
ignoreIOSBadge?: boolean;
disableVoipPush?: boolean;
image?: string;
}
export interface IOfflinePushAndroidInfo {
sound?: string;
XiaoMiChannelID?: string;
OPPOChannelID?: string;
FCMChannelID?: string;
VIVOClassification?: number;
VIVOCategory?: string;
HuaWeiCategory?: string;
HuaWeiImage?: string;
HonorImage?: string;
GoogleImage?: string;
}
// https://web.sdk.qcloud.com/im/doc/v3/zh-cn/SDK.html#sendMessage
export interface IChatOfflinePushInfo {
title?: string;
description?: string;
extension?: string;
androidInfo?: IOfflinePushAndroidInfo;
apnsInfo?: IOfflinePushApnsInfo;
}
// doc: https://cloud.tencent.com/document/product/269/105713
export interface ICallOfflinePushInfo {
title?: string;
description?: string;
iOSSound?: string;
androidSound?: string;
androidOPPOChannelID?: string;
androidXiaoMiChannelID?: string;
androidFCMChannelID?: string;
ignoreIOSBadge?: string;
isDisablePush?: string;
}