InputMediaAnimation constructor

const InputMediaAnimation({
  1. required InputFile media,
  2. InputFile? thumbnail,
  3. String? caption,
  4. ParseMode? parseMode,
  5. List<MessageEntity>? captionEntities,
  6. int? width,
  7. int? height,
  8. int? duration,
  9. bool? hasSpoiler,
  10. bool? showCaptionAboveMedia,
})

Constructs an InputMediaAnimation object

Implementation

const InputMediaAnimation({
  required super.media,
  this.thumbnail,
  this.caption,
  this.parseMode,
  this.captionEntities,
  this.width,
  this.height,
  this.duration,
  this.hasSpoiler,
  this.showCaptionAboveMedia,
});