跳到主要内容

Update viewer info in chatroom

PUT 

/bv/chatroom/v1/chatrooms/viewer-infos

Modifies viewer information within the chatroom. Authorization requires the chatroom token with the admin role.

Request

Header Parameters

    authorization string

    This API should be invoked with the chatroom token.

Body

required
    viewer_info objectrequired

    Required.

    enabled booleanrequired

    Required. Indicates whether the chat will display the viewer info or not.

    action_taker objectrequired

    Required. The user who update the setting.

    custom_name stringrequired

    Required. The custom name of the user.

Responses

A successful response.

Schema

    object

Loading...