unsubscribeOfficialAccount method

  1. @override
Future<V2TimCallback> unsubscribeOfficialAccount({
  1. required String officialAccountID,
})
override

取消订阅公众号

Implementation

@override
Future<V2TimCallback> unsubscribeOfficialAccount({
  required String officialAccountID,
}) async {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "unsubscribeOfficialAccount",
        buildFriendManagerParam(
          {
            "officialAccountID": officialAccountID,
            "ability": Utils.getAbility(),
          },
        ),
      ),
    ),
  );
}