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