MessagesSentEncryptedFile.deserialize constructor
MessagesSentEncryptedFile.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory MessagesSentEncryptedFile.deserialize(BinaryReader reader) {
// Read [MessagesSentEncryptedFile] fields.
final date = reader.readDateTime();
final file = reader.readObject() as EncryptedFileBase;
// Construct [MessagesSentEncryptedFile] object.
final returnValue = MessagesSentEncryptedFile(
date: date,
file: file,
);
// Now return the deserialized [MessagesSentEncryptedFile].
return returnValue;
}