requestThread method

Future<RequestThreadResult> requestThread(
  1. String? wid,
  2. String? type,
  3. String? aid,
  4. bool? isV2Robot
)

Implementation

Future<RequestThreadResult> requestThread(
    String? wid, String? type, String? aid, bool? isV2Robot) async {
  if (isV2Robot!) {
    return await bytedeskHttpApi.requestWorkGroupThreadV2(wid);
  }
  return await bytedeskHttpApi.requestThread(wid, type, aid);
}