ChatlistsExportedChatlistInvite.deserialize constructor
ChatlistsExportedChatlistInvite.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory ChatlistsExportedChatlistInvite.deserialize(BinaryReader reader) {
// Read [ChatlistsExportedChatlistInvite] fields.
final filter = reader.readObject() as DialogFilterBase;
final invite = reader.readObject() as ExportedChatlistInviteBase;
// Construct [ChatlistsExportedChatlistInvite] object.
final returnValue = ChatlistsExportedChatlistInvite(
filter: filter,
invite: invite,
);
// Now return the deserialized [ChatlistsExportedChatlistInvite].
return returnValue;
}