getWallPapers method

Future<Result<AccountWallPapersBase>> getWallPapers({
  1. required int hash,
})

Get Wall Papers.

ID: 07967d36.

Implementation

Future<Result<AccountWallPapersBase>> getWallPapers({
  required int hash,
}) async {
  // Preparing the request.
  final request = AccountGetWallPapers(
    hash: hash,
  );

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

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