Update a feature
Turns on and off a feature for a specific application.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Required
Parameter name | Type | Description |
---|---|---|
app_id | string | Specifies the unique ID of an application. |
Request body
Optional
Property name | Type | Description |
---|---|---|
auto_thumbnail | boolean | Determines whether to turn on or off the thumbnail auto-generator feature. (Default: false) |
translation_tools | boolean | Determines whether to turn on or off the message auto-translation feature. (Default: false) |
image_moderation | boolean | Determines whether to turn on or off the image moderation feature. (Default: false) |
data_export | boolean | Determines whether to turn on or off the data export feature. |
domain_filter | boolean | Determines whether to turn on or off the domain filter feature. (Default: false) |
profanity_filter | boolean | Determines whether to turn on or off the profanity filter feature. (Default: false) |
delivery_receipt | boolean | Determines whether to turn on or off the delivery receipt feature. |
announcement | boolean | Determines whether to turn on or off the announcements feature. (Default: false) |
supergroup | boolean | Determines whether to turn on or off a Supergroup channel. (Default: false) |
advanced_analytics | boolean | Determines whether to turn on or off the advanced analytics feature. |
message_search | boolean | Determines whether to turn on or off the message search feature. (Default: false) |
Response
If successful, this action returns a feature resource in the response body.
In the case of an error, an error object is returned. A detailed list of error codes is available here.