fetchBot method
Implementation
Future<NIMResult<V2NIMUserAIBot>> fetchBot(String accid) async {
isLoading = true;
notifyListeners();
final result = await NimCore.instance.aiService.getUserAIBot(
V2NIMGetUserAIBotParams(accid: accid),
);
if (result.isSuccess) {
bot = result.data;
}
isLoading = false;
notifyListeners();
return result;
}