reorderStarGiftCollections method
Future<Result<Boolean> >
reorderStarGiftCollections({
- required InputPeerBase peer,
- required List<
int> order,
Reorder Star Gift Collections.
ID: c32af4cc.
Implementation
Future<Result<Boolean>> reorderStarGiftCollections({
required InputPeerBase peer,
required List<int> order,
}) async {
// Preparing the request.
final request = PaymentsReorderStarGiftCollections(
peer: peer,
order: order,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}