getChannelRestrictedStatusEmojis method

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

Get Channel Restricted Status Emojis.

ID: 35a9e0d5.

Implementation

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

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

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