StoriesIncrementStoryViews.deserialize constructor

StoriesIncrementStoryViews.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory StoriesIncrementStoryViews.deserialize(BinaryReader reader) {
  // Read [StoriesIncrementStoryViews] fields.
  final peer = reader.readObject() as InputPeerBase;
  final id = reader.readVectorInt32();

  // Construct [StoriesIncrementStoryViews] object.
  final returnValue = StoriesIncrementStoryViews(
    peer: peer,
    id: id,
  );

  // Now return the deserialized [StoriesIncrementStoryViews].
  return returnValue;
}