IM 聊天记录
This commit is contained in:
@@ -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,_)=>{
|
||||
|
||||
Reference in New Issue
Block a user