Browse Source

sdk add: /v1/mark/messages/read

Evo 4 years ago
parent
commit
80f4576e7e
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      packages/cts-api/src/WebSocketClient.ts

+ 4
- 0
packages/cts-api/src/WebSocketClient.ts View File

139
     return this.request('/v1/mark/message/serviced', data);
139
     return this.request('/v1/mark/message/serviced', data);
140
   }
140
   }
141
 
141
 
142
+  async messageReaded(data: { msg_id: string }){
143
+    return this.request('/v1/mark/messages/read', data);
144
+  }
145
+
142
   /** @start Apis */
146
   /** @start Apis */
143
 
147
 
144
   /** 获取聊天室历史消息 */
148
   /** 获取聊天室历史消息 */