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