InputMediaPhoto constructor

const InputMediaPhoto({
  1. required InputFile media,
  2. String? caption,
  3. ParseMode? parseMode,
  4. List<MessageEntity>? captionEntities,
  5. bool? hasSpoiler,
  6. bool? showCaptionAboveMedia,
})

Constructs an InputMediaPhoto object

Implementation

const InputMediaPhoto({
  required super.media,
  this.caption,
  this.parseMode,
  this.captionEntities,
  this.hasSpoiler,
  this.showCaptionAboveMedia,
});