unsubscribeOfficialAccount method
取消订阅公众号
Implementation
@override
Future<V2TimCallback> unsubscribeOfficialAccount({
required String officialAccountID,
}) async {
Map<String, dynamic> param = {
"officialAccountID": officialAccountID,
"ability": Utils.getAbility(),
};
var resp = V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"unsubscribeOfficialAccount",
buildFriendManagerParam(
param,
),
),
),
);
log("unsubscribeOfficialAccount", param, resp.toLogString());
return resp;
}