MessagePhoto constructor

const MessagePhoto({
  1. required Photo photo,
  2. Video? video,
  3. required FormattedText caption,
  4. required bool showCaptionAboveMedia,
  5. required bool hasSpoiler,
  6. required bool isSecret,
})

Implementation

const MessagePhoto({
  required this.photo,
  this.video,
  required this.caption,
  required this.showCaptionAboveMedia,
  required this.hasSpoiler,
  required this.isSecret,
});