IM 聊天记录

This commit is contained in:
2023-11-30 11:02:36 +08:00
parent 90f1fb5c57
commit 2f39828c8f
11 changed files with 161 additions and 14 deletions

View File

@@ -314,6 +314,14 @@ export class ImClient {
})
}
public getChatMessageHistoryList(uid:String,offset:Long,limit:Long): Promise<any> {
return new Promise((resolve, _) => {
let api = new HttpApi(this.httpUrl);
let resp = api.call("/message/chatHistory", this.getRequestParams(), { userId: uid,appId:this.appId,offset:offset, limit:limit,operater:this.userId })
resolve(resp);
})
}
public createRoom(room:any): Promise<any> {
return new Promise((resolve,_)=>{