StoriesExportStoryLink.deserialize constructor
StoriesExportStoryLink.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory StoriesExportStoryLink.deserialize(BinaryReader reader) {
// Read [StoriesExportStoryLink] fields.
final peer = reader.readObject() as InputPeerBase;
final id = reader.readInt32();
// Construct [StoriesExportStoryLink] object.
final returnValue = StoriesExportStoryLink(
peer: peer,
id: id,
);
// Now return the deserialized [StoriesExportStoryLink].
return returnValue;
}