requestChatJoinWebView method

Future<Result<WebViewResultBase>> requestChatJoinWebView({
  1. required int queryId,
  2. DataJSONBase? themeParams,
  3. required String platform,
})

Request Chat Join Web View.

ID: ba9ee679.

Implementation

Future<Result<WebViewResultBase>> requestChatJoinWebView({
  required int queryId,
  DataJSONBase? themeParams,
  required String platform,
}) async {
  // Preparing the request.
  final request = MessagesRequestChatJoinWebView(
    queryId: queryId,
    themeParams: themeParams,
    platform: platform,
  );

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<WebViewResultBase>();
}