UpdatesDifferenceTooLong.deserialize constructor

UpdatesDifferenceTooLong.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

  // Construct [UpdatesDifferenceTooLong] object.
  final returnValue = UpdatesDifferenceTooLong(
    pts: pts,
  );

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