From b5021ed81e73de82088563e0700981b41eb0d98a Mon Sep 17 00:00:00 2001 From: haoxiuwen Date: Thu, 17 Oct 2024 11:19:02 +0800 Subject: [PATCH] modify --- .../RESTful API Reference/agora_chat_restful_message.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en-US/markdown/agora-chat/RESTful API Reference/agora_chat_restful_message.md b/en-US/markdown/agora-chat/RESTful API Reference/agora_chat_restful_message.md index 4b15255df19..d092750faa6 100644 --- a/en-US/markdown/agora-chat/RESTful API Reference/agora_chat_restful_message.md +++ b/en-US/markdown/agora-chat/RESTful API Reference/agora_chat_restful_message.md @@ -168,7 +168,7 @@ The request body is a JSON object, which contains the following parameters: | Parameter | Type | Description | Required | | --- | --- | --- | --- | - | `customEvent` | String | The event type customized by the user. The value of this parameter should be a regular expression, for example, `[a-zA-Z0-9-_/\.]{1,32}`. | No | + | `customEvent` | String | The event type customized by the user. The value of this parameter should meet the restrictions placed by a regular expression, for example, `[a-zA-Z0-9-_/\.]{1,32}`. | No | | `customExts` | JSON | The event attribute customized by the user. The data type is `Map`. You can set a maximum of 16 elements. | No | #### HTTP response @@ -1838,7 +1838,7 @@ For the other parameters and detailed descriptions, see [Common parameters](#par | `new_msg` | JSON | The modified message. | Yes | | `new_msg.type` | String | The type of message to modify: | Yes | | `new_msg.msg` | String | The modified message content. **This parameter is valid only for text messages.** | Yes | -| `new_msg.customEvent` | String | The event type customized by the user. The value of this parameter should be a regular expression, for example, [a-zA-Z0-9-_/\.]{1,32}. This parameter value can contain up to 32 characters. **This parameter is valid only for custom messages.** | No | +| `new_msg.customEvent` | String | The event type customized by the user. The value of this parameter should meet restrictions placed by a regular expression, for example, [a-zA-Z0-9-_/\.]{1,32}. This parameter value can contain up to 32 characters. **This parameter is valid only for custom messages.** | No | | `new_msg.customExts` | JSON | The event attribute customized by the user. The data type is Map. You can set a maximum of 16 elements. **This parameter is valid only for custom messages.** | No | | `new_ext` | JSON | The modified message extension information. This parameter is valid only for custom messages. | No | | `is_combine_ext` | Boolean | Whether the modified message extension information is merged with or replaces the original information:
  • (Default)`true`: Merge;
  • `false`: Replace.
| No |