initIsolateNewClient method

Future<Map> initIsolateNewClient({
  1. required String tokenBot,
  2. int owner_user_id = 0,
  3. int from_bot_user_id = 0,
  4. int expire_date = 0,
  5. String type_bot = "glx",
  6. String? path,
  7. String version = "regular",
  8. Iterable<String>? pathSegments,
})

Implementation

Future<Map> initIsolateNewClient({
  required String tokenBot,
  int owner_user_id = 0,
  int from_bot_user_id = 0,
  int expire_date = 0,
  String type_bot = "glx",
  String? path,
  String version = "regular",
  Iterable<String>? pathSegments,
}) async {
  return await initIsolate(
    tokenBot: tokenBot,
    owner_user_id: owner_user_id,
    from_bot_user_id: from_bot_user_id,
    expire_date: expire_date,
    type_bot: type_bot,
    path: path,
    version: version,
    pathSegments: pathSegments,
  );
}