subscribeOfficialAccount method
订阅公众号
Implementation
Future<V2TimCallback> subscribeOfficialAccount({
required String officialAccountID,
}) async {
if (kIsWeb) {
return TencentCloudChatSdkPlatform.instance
.subscribeOfficialAccount(officialAccountID: officialAccountID);
}
return TIMFriendshipManager.instance
.subscribeOfficialAccount(officialAccountID: officialAccountID);
}