@tencentcloud/chat-uikit-engine
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -42,3 +42,2 @@ import TencentCloudChat, { Message, Conversation } from '@tencentcloud/chat'; | ||
muteConversation(): Promise<any>; | ||
clearHistoryMessage(): Promise<any>; | ||
getAvatar(): string; | ||
@@ -133,2 +132,3 @@ getShowName(): string; | ||
revoker: string | null; | ||
sequence: number; | ||
getMessage(): Message; | ||
@@ -186,3 +186,2 @@ modifyMessage(options: ModifyMessageParams): Promise<any>; | ||
displayOnlineStatus: boolean; | ||
autoSubOnlineStatus?: boolean; | ||
} | ||
@@ -435,3 +434,4 @@ interface PinConversationParams { | ||
GRP = "group", | ||
USER = "user" | ||
USER = "user", | ||
CUSTOM = "custom" | ||
} | ||
@@ -447,10 +447,10 @@ | ||
unwatch(storeName: StoreName, options: IOptions): void; | ||
update(storeName: StoreName, key: string, data: unknown): void; | ||
getData(storeName: StoreName, key: string): any; | ||
getConversationModel(conversationID: string): IConversationModel; | ||
getMessageModel(messageID: string): IMessageModel; | ||
update(storeName: StoreName, key: string, data: unknown): void; | ||
reset(storeName: StoreName, keyList?: Array<string>, isNotificationNeeded?: boolean): void; | ||
} | ||
declare class ChatEngine implements IChatEngine { | ||
declare class ChatEngine implements ITUIChatEngine { | ||
static instance: ChatEngine; | ||
@@ -475,8 +475,9 @@ chat: any; | ||
login(options: LoginParams): Promise<unknown>; | ||
private initStore; | ||
private initService; | ||
logout(): any; | ||
isReady(): any; | ||
setLogLevel(level: number): any; | ||
destroy(): any; | ||
getMyUserID(): string; | ||
private initStore; | ||
private initService; | ||
private createChat; | ||
@@ -594,3 +595,3 @@ private loginChat; | ||
interface IChatEngine { | ||
interface ITUIChatEngine { | ||
chat: any; | ||
@@ -609,2 +610,3 @@ EVENT: any; | ||
logout(): Promise<any>; | ||
isReady(): Boolean; | ||
destroy(): Promise<any>; | ||
@@ -616,3 +618,3 @@ setLogLevel(level: number): void; | ||
declare const TUIChatEngine: IChatEngine; | ||
declare const TUIChatEngine: ITUIChatEngine; | ||
declare const tuiGlobal: ITUIGlobal; | ||
@@ -619,0 +621,0 @@ declare const tuiStore: ITUIStore; |
{ | ||
"name": "@tencentcloud/chat-uikit-engine", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Tencent Cloud TUIChatEngine SDK for Chat TUIKit", | ||
@@ -22,3 +22,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@tencentcloud/chat": "^3.0.0", | ||
"@tencentcloud/chat": "^3.1.0", | ||
"tim-profanity-filter-plugin": "^0.9.0", | ||
@@ -25,0 +25,0 @@ "tim-upload-plugin": "^1.2.0" |
@@ -90,2 +90,6 @@ ## 关于 chat-uikit-engine | ||
#### 相关资源 | ||
- [TUIChatEngine 接口文档](https://web.sdk.qcloud.com/im/doc/chat-engine/index.html) | ||
### 常见问题 | ||
@@ -92,0 +96,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
157128
1103
105
Updated@tencentcloud/chat@^3.1.0