InputMessageAnimation constructor

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

An animation message (GIF-style).

Implementation

const InputMessageAnimation({
  required this.animation,
  this.thumbnail,
  required this.addedStickerFileIds,
  required this.duration,
  required this.width,
  required this.height,
  this.caption,
  required this.hasSpoiler,
});