StoriesGetStoriesViews.deserialize constructor

StoriesGetStoriesViews.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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