file property

InputFile get file

The InputFile getter

Implementation

InputFile get file {
  return switch (this) {
    InputProfilePhotoStatic(photo: final photo) => photo,
    InputProfilePhotoAnimated(animation: final animation) => animation,
  };
}