fetchRobot method

Future<NIMResult<V2NIMUserAIBot>> fetchRobot(
  1. String accid
)

Fetches a robot and updates the local cache when it exists.

Implementation

Future<NIMResult<V2NIMUserAIBot>> fetchRobot(String accid) async {
  return _fetchRobotForAccount(accid, _accountProvider());
}