getEmojiProfilePhotoGroups method

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

Get Emoji Profile Photo Groups.

ID: 21a548f3.

Implementation

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

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

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