getStarsTransactions method

Future<Result<PaymentsStarsStatusBase>> getStarsTransactions({
  1. required bool inbound,
  2. required bool outbound,
  3. required bool ascending,
  4. required bool ton,
  5. String? subscriptionId,
  6. required InputPeerBase peer,
  7. required String offset,
  8. required int limit,
})

Get Stars Transactions.

ID: 69da4557.

Implementation

Future<Result<PaymentsStarsStatusBase>> getStarsTransactions({
  required bool inbound,
  required bool outbound,
  required bool ascending,
  required bool ton,
  String? subscriptionId,
  required InputPeerBase peer,
  required String offset,
  required int limit,
}) async {
  // Preparing the request.
  final request = PaymentsGetStarsTransactions(
    inbound: inbound,
    outbound: outbound,
    ascending: ascending,
    ton: ton,
    subscriptionId: subscriptionId,
    peer: peer,
    offset: offset,
    limit: limit,
  );

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

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