getDefaultProfilePhotoEmojis method

Future<Result<EmojiListBase>> getDefaultProfilePhotoEmojis({
  1. required int hash,
})

Get Default Profile Photo Emojis.

ID: e2750328.

Implementation

Future<Result<EmojiListBase>> getDefaultProfilePhotoEmojis({
  required int hash,
}) async {
  // Preparing the request.
  final request = AccountGetDefaultProfilePhotoEmojis(
    hash: hash,
  );

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

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