/ Platform API
Platform API
    Chat Platform API v3
    Chat Platform API
    Chat Platform API
    Version 3

    Update a feature

    Copy link

    Turns on and off a feature for a specific application.


    HTTP request

    Copy link
    PATCH https://gate.sendbird.com/api/v2/applications/{app_id}/features
    

    Parameters

    Copy link

    The following table lists the parameters that this action supports.

    Required
    Parameter nameTypeDescription

    app_id

    string

    Specifies the unique ID of an application.


    Request body

    Copy link
    Optional
    Property nameTypeDescription

    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)

    {
        "auto_thumbnail": true,
        "domain_filter": true
    }
    

    Response

    Copy link

    If successful, this action returns a feature resource in the response body.

    {
        "auto_thumbnail": true,
        "translation_tools": false,
        "image_moderation": false,
        "moderation_tools": false,
        "domain_filter": true,
        "profanity_filter": false,
        "data_export": true,
        "delivery_receipt": false,
        "announcement": false,
        "supergroup": false,
        "advanced_analytics": false,
        "message_search": false
    }
    

    In the case of an error, an error object is returned. A detailed list of error codes is available here.