ChatlistsExportChatlistInvite.deserialize constructor
ChatlistsExportChatlistInvite.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory ChatlistsExportChatlistInvite.deserialize(BinaryReader reader) {
// Read [ChatlistsExportChatlistInvite] fields.
final chatlist = reader.readObject() as InputChatlistBase;
final title = reader.readString();
final peers = reader.readVectorObject<InputPeerBase>();
// Construct [ChatlistsExportChatlistInvite] object.
final returnValue = ChatlistsExportChatlistInvite(
chatlist: chatlist,
title: title,
peers: peers,
);
// Now return the deserialized [ChatlistsExportChatlistInvite].
return returnValue;
}