renameFriendGroup

Introduction

Change the name of a friend group.

Parameter details

Parameter name Parameter type Required Platform Description
oldName String yes All The original name of the group.
newName String yes All The new name of the group.

Returned template

V2TimCallback

{
    code : int
    desc : String
}

Return value details

name type description
code int Request result: Error codes. 0 means success.
desc String The description of the error. It will be empty if success.

Code example

    V2TimCallback renameFriendGroupRes = await TencentImSDKPlugin.v2TIMManager
        .getFriendshipManager()
        .renameFriendGroup(
          oldName: "", 
          newName: "", 
          );
    if (renameFriendGroupRes.code == 0) {
    }

results matching ""

    No results matching ""