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