call method

Future<void> call({
  1. required String rtcToken,
  2. required String aiAgentInstanceId,
  3. required String aiAgentUserId,
  4. required String channelId,
  5. String? aiAgentId,
  6. String? userId,
})

发起通话 rtcToken RTC通话令牌 aiAgentInstanceId AI代理运行实例ID(服务端启动智能体后返回) aiAgentUserId AI代理在RTC频道中的用户ID channelId 通话频道ID aiAgentId 智能体模板ID(控制台创建的 Agent ID,iOS 侧必传) userId 当前登录用户ID(iOS call1/2 接口必传)

Implementation

Future<void> call({
  required String rtcToken,
  required String aiAgentInstanceId,
  required String aiAgentUserId,
  required String channelId,
  String? aiAgentId,
  String? userId,
}) {
  throw UnimplementedError('call() has not been implemented.');
}