GroupModifyGroupInfo

introduction

Modify group info

Group owner change permission description

Only group owner has the right to transfer group.

AVChatRoom does not support group transfer.

Other group info change permission description

Only group owner or admin can modify group introduction for Public/Meeting group or AVChatRoom.

Anyone can modify group introduction in Private group.

Use bit union to set multiple group_modify_info_param_modify_flag, please check GroupModifyInfoParam

Call GroupModifyGroupInfo to modify the group profile. When the modification is complete, all group members receive the GroupTipsEventCallback callback.

Parameter details

overload1

Parameter name Parameter type Required Description
json_group_modifyinfo_param GroupModifyInfoParam Required GroupModifyInfoParam
callback NullValueCallback Required Asynchronous callback

overload2

Parameter name Parameter type Required Description
json_group_modifyinfo_param GroupModifyInfoParam Required GroupModifyInfoParam
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 ""