StoriesCanSendStory.deserialize constructor

StoriesCanSendStory.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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