getBotRecommendations method

Future<Result<UsersUsersBase>> getBotRecommendations({
  1. required InputUserBase bot,
})

Get Bot Recommendations.

ID: a1b70815.

Implementation

Future<Result<UsersUsersBase>> getBotRecommendations({
  required InputUserBase bot,
}) async {
  // Preparing the request.
  final request = BotsGetBotRecommendations(bot: bot);

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

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