InputMessagePhoto constructor

const InputMessagePhoto({
  1. required InputFile photo,
  2. InputThumbnail? thumbnail,
  3. required List<int> addedStickerFileIds,
  4. required int width,
  5. required int height,
  6. FormattedText? caption,
  7. required int selfDestructTime,
  8. required bool hasSpoiler,
})

A photo message

Implementation

const InputMessagePhoto({
  required this.photo,
  this.thumbnail,
  required this.addedStickerFileIds,
  required this.width,
  required this.height,
  this.caption,
  required this.selfDestructTime,
  required this.hasSpoiler,
});