MessagesGetEmojiProfilePhotoGroups.deserialize constructor

MessagesGetEmojiProfilePhotoGroups.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory MessagesGetEmojiProfilePhotoGroups.deserialize(BinaryReader reader) {
  // Read [MessagesGetEmojiProfilePhotoGroups] fields.
  final hash = reader.readInt32();

  // Construct [MessagesGetEmojiProfilePhotoGroups] object.
  final returnValue = MessagesGetEmojiProfilePhotoGroups(
    hash: hash,
  );

  // Now return the deserialized [MessagesGetEmojiProfilePhotoGroups].
  return returnValue;
}