getEmojiGroups method

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

Get Emoji Groups.

ID: 7488ce5b.

Implementation

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

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

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