https://xxxxxx/v4/openconfigsvr/getnospeaking?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json
Parameter | Description |
xxxxxx | Domain name corresponding to the country/region where your SDKAppID is located. China: console.tim.qq.com Singapore: adminapisgp.im.qcloud.com Seoul: adminapikr.im.qcloud.com Frankfurt: adminapiger.im.qcloud.com Silicon Valley: adminapiusa.im.qcloud.com Jakarta: adminapiidn.im.qcloud.com |
v4/openconfigsvr/getnospeaking | Request API |
sdkappid | SDKAppID assigned by the Chat console when an app is created |
identifier | |
usersig | |
random | A random 32-bit unsigned integer ranging from 0 to 4294967295. |
contenttype | Request format. The value is fixed to json . |
{"Get_Account": "lumotuwe"}
Field | Type | Required | Description |
Get_Account | String | Required | Account for which muting information is queried |
{"ErrorCode": 0,"ErrorInfo": "","C2CmsgNospeakingTime": 4294967295,"GroupmsgNospeakingTime": 7196}
Field | Type | Description |
ErrorCode | Integer | Request error code. 0 : Successful; other values: Failed |
ErrorInfo | String | Error information |
C2CmsgNospeakingTime | Number | The muting period for one-to-one messages, in seconds. The value is a non-negative integer. The value 0 indicates that message muting is disabled. The maximum value 4294967295 (or 0xFFFFFFFF in hexadecimal) indicates that permanent muting is enabled for the account. Other values indicate the specific muting period of the account. For example, the value 3600 indicates that the muting period of the account is one hour. |
GroupmsgNospeakingTime | Number | The muting period for group messages, in seconds. The value is a non-negative integer. The value 0 indicates that message muting is disabled. The maximum value 4294967295 (or 0xFFFFFFFF in hexadecimal) indicates that permanent muting is enabled for the account. Other values indicate the specific muting period of the account. For example, the value 3600 indicates that the muting period of the account is one hour. |
ErrorCode
and ErrorInfo
respectively.
For public error codes (60000 to 79999), see Error Codes.
The following table describes the error codes specific to this API:Error Code | Description |
130001 | Failed to parse the JSON format. Check whether the JSON request meets JSON specifications. |
130002 | The JSON request does not contain the Get_Account field. |
130003 | The Get_Account field in the JSON request is invalid. |
130014 | A JSON system error occurred. Try again or contact technical support. |
문제 해결에 도움이 되었나요?