Skip to main content

Overview

Specifies whether new group members can view message history. Disabled by default.

Request

Authentication: Add authentication headers to the request. See Authentication

Method: POST

Rate limit: 100 requests/second

Endpoint: https://API domain/jim/groups/management/sethismsgvisible

Content-Type: application/json

Request parameters

ParameterData typeRequiredDescription
group_idstringYesGroup ID.
group_his_msg_visibleintYes0: cannot view; 1: can view. Default: 0.

Request example

POST /jim/groups/management/sethismsgvisible HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json

{
"group_id":"groupid1",
"group_his_msg_visible":1
}

Response example

{
"code":0,
"msg":"sucess"
}

Response codes

Response codesDescription