corp-chat-library-antd-react-socket 1.2.24 → 1.2.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +12 -0
  2. package/dist/index.js +1189 -1177
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -202,6 +202,18 @@ export interface fetchChatMessagesPathResponse {
202
202
 
203
203
  ### "fetchMessageContextPath"
204
204
  When a reply points to a message that is not loaded in the current chat, the chat will load a pack of messages around that target message and then scroll to it.\
205
+ SMS alias:
206
+ ```ts
207
+ POST /api/sms/chat/messages/{chatId}/{messageId}
208
+ ```
209
+
210
+ Set:
211
+ ```ts
212
+ fetchMessageContextPath: "/api/sms/chat/messages"
213
+ ```
214
+
215
+ If `fetchMessageContextPath` is omitted, it will be derived from `fetchChatMessagesPath` by appending `/chat/messages`. A legacy value ending with `/context` is normalized to `/chat/messages`.
216
+
205
217
  Request URL:
206
218
  ```ts
207
219
  `${fetchMessageContextPath}/${chatId}/${messageId}`