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