unsubscribeUserStatus

Introduction

Unsubscribe the listen to the user status changes events.

All the subscription to the user status changes events will be canceled, if userIDList is not specified.

This method only works with Ultimate Edition, you can find the pricing plan here.

Only works since version of 4.0.8.

Do not works on Web.

Parameter details

Parameter name Parameter type Required Platform Description
userIDList List< String > yes All The list of user IDs to unsubscribe.

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 unsubscribeUserStatusRes = await TencentImSDKPlugin.v2TIMManager
        .unsubscribeUserStatus(userIDList: []);
    if (unsubscribeUserStatusRes.code == 0) {
    }

results matching ""

    No results matching ""