searchEmojiStickerSets method

Future<Result<MessagesFoundStickerSetsBase>> searchEmojiStickerSets({
  1. required bool excludeFeatured,
  2. required String q,
  3. required int hash,
})

Search Emoji Sticker Sets.

ID: 92b4494c.

Implementation

Future<Result<MessagesFoundStickerSetsBase>> searchEmojiStickerSets({
  required bool excludeFeatured,
  required String q,
  required int hash,
}) async {
  // Preparing the request.
  final request = MessagesSearchEmojiStickerSets(
    excludeFeatured: excludeFeatured,
    q: q,
    hash: hash,
  );

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

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