MessagePhoto constructor

const MessagePhoto({
  1. required Photo photo,
  2. required FormattedText caption,
  3. required bool isSecret,
})

A photo message

Implementation

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