InputMediaAnimation constructor

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

Implementation

InputMediaAnimation({
  this.type = InputMedia.typeAnimation,
  required this.media,
  this.thumbnail,
  this.caption,
  this.parseMode,
  this.captionEntities,
  this.width,
  this.height,
  this.duration,
  this.hasSpoiler,
});