Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
haoxiuwen committed Sep 12, 2023
1 parent 52eb7e3 commit 0f603a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ WebIM.conn.getHistoryMessages(options).then((res)=>{

### Delete historical messages from the server unidirectionally

Call `removeHistoryMessages` to delete historical messages one way from the server. You can remove a maximum of 50 messages from the server each time. Once the messages are deleted, you can no longer retrieve them from the server. Other chat users can still get the messages from the server.
Call `removeHistoryMessages` to delete historical messages one way from the server. You can remove a maximum of 20 messages from the server each time. Once the messages are deleted, you can no longer retrieve them from the server. Other chat users can still get the messages from the server.

```javascript
// Delete messages by timestamp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ This method retrieves historical messages sent and received by the user.
- Messages cannot be retrieved in real time. For example, at 9 a.m., you can retrieve messages that are sent or received at 8 a.m.
- The default storage time of historical messages differs by plan version. For details, see [package details](./agora_chat_plan?platform=RESTful).

For each App Key, the call frequency limit of this method is 100 per second.
For each App Key, the call frequency limit of this method is 10 per minute.

### HTTP request

Expand Down

0 comments on commit 0f603a2

Please sign in to comment.