getOfficialAccountsInfo method

  1. @override
Future<V2TimValueCallback<List<V2TimOfficialAccountInfoResult>>> getOfficialAccountsInfo({
  1. required List<String> officialAccountIDList,
})
override

获取公众号列表

Implementation

@override
Future<V2TimValueCallback<List<V2TimOfficialAccountInfoResult>>> getOfficialAccountsInfo({
  required List<String> officialAccountIDList,
}) async {
  return V2TimValueCallback<List<V2TimOfficialAccountInfoResult>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "getOfficialAccountsInfo",
        buildFriendManagerParam(
          {
            "officialAccountIDList": officialAccountIDList,
            "ability": Utils.getAbility(),
          },
        ),
      ),
    ),
  );
}