InputEncryptedFileLocation.deserialize constructor
InputEncryptedFileLocation.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory InputEncryptedFileLocation.deserialize(BinaryReader reader) {
// Read [InputEncryptedFileLocation] fields.
final id = reader.readInt64();
final accessHash = reader.readInt64();
// Construct [InputEncryptedFileLocation] object.
final returnValue = InputEncryptedFileLocation(
id: id,
accessHash: accessHash,
);
// Now return the deserialized [InputEncryptedFileLocation].
return returnValue;
}