getStarsGiveawayOptions method

Future<Result<Vector<StarsGiveawayOptionBase>>> getStarsGiveawayOptions()

Get Stars Giveaway Options.

ID: bd1efd3e.

Implementation

Future<Result<Vector<StarsGiveawayOptionBase>>>
    getStarsGiveawayOptions() async {
  // Preparing the request.
  final request = PaymentsGetStarsGiveawayOptions();

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

  // Return the result.
  return response._toVector<StarsGiveawayOptionBase>();
}