InputWallPaper.deserialize constructor

InputWallPaper.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory InputWallPaper.deserialize(BinaryReader reader) {
  // Read [InputWallPaper] fields.
  final id = reader.readInt64();
  final accessHash = reader.readInt64();

  // Construct [InputWallPaper] object.
  final returnValue = InputWallPaper(
    id: id,
    accessHash: accessHash,
  );

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