getEmojiStickerGroups method

Future<Result<MessagesEmojiGroupsBase>> getEmojiStickerGroups({
  1. required int hash,
})

Get Emoji Sticker Groups.

ID: 1dd840f5.

Implementation

Future<Result<MessagesEmojiGroupsBase>> getEmojiStickerGroups({
  required int hash,
}) async {
  // Preparing the request.
  final request = MessagesGetEmojiStickerGroups(hash: hash);

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

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