openChatWindow method
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,
);