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