openChatWindow method

Future<void> openChatWindow({
  1. required String licenseId,
  2. required String username,
  3. required String email,
  4. String? groupId,
  5. Map<String, String>? customParameters,
})

Call to open the live chat window. It requires licenseId, username, and email. In addition, optional groupId and customParameters can be passed if needed.

Implementation

Future<void> openChatWindow({
  required String licenseId,
  required String username,
  required String email,
  String? groupId,
  Map<String, String>? customParameters,
}) async =>
    LiveChatPlatform.instance.openChatWindow(
      licenseId: licenseId,
      username: username,
      email: email,
      groupId: groupId,
      customParameters: customParameters,
    );