GroupDeleteGroupAttributes

introduction

Delete group attributes

Only works with AVChatRoom temporarily.

The upper limit amount for attributes is 16, with the limit of 32 bytes for each attribute keys, and 4k for each values.

The total limit for attributes, including keys and values, is 16K.

NULL for json_keys to delete all group attributes.

GroupInitGroupAttributes, GroupSetGroupAttributes, GroupDeleteGroupAttributes together share the limits of calling frequency 5 times per 10 seconds. Once exceeded, it returns 8511 error code and the limits loose to 5 times per second. Once exceeded again, it returns 10049 error code.

Parameter details

overload1

Parameter name Parameter type Required Description
group_id string Required Group ID
json_keys List< string > Required Key list
callback NullValueCallback Required Asynchronous callback

overload2

Parameter name Parameter type Required Description
group_id string Required Group ID
json_keys List< string > Required Key list
callback ValueCallback< string > Required Asynchronous callback The format of json_param in the return value is string

Returned template

TIMResult

The parameters of the callback function after successfully calling the API:
code:int
desc:string
json_param:'' // json_ Params is an empty string ""
user_data:string

Return value details

name type description
TIMResult TIMResult Return value of calling API
code int Result error code: Error Codes
desc string The description of the error.
json_param string Json string. Calling different API will get different Json strings.
user_data string User-defined data transfered by ImSDK without any processing

results matching ""

    No results matching ""