InputMediaPhoto constructor

InputMediaPhoto({
  1. String type = InputMedia.typePhoto,
  2. required String media,
  3. String? caption,
  4. String? parseMode,
  5. List<MessageEntity>? captionEntities,
  6. bool? hasSpoiler,
})

Implementation

InputMediaPhoto({
  this.type = InputMedia.typePhoto,
  required this.media,
  this.caption,
  this.parseMode,
  this.captionEntities,
  this.hasSpoiler,
});