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