MessageAnimation constructor

const MessageAnimation({
  1. required Animation animation,
  2. required FormattedText caption,
  3. required bool showCaptionAboveMedia,
  4. required bool hasSpoiler,
  5. required bool isSecret,
})

Implementation

const MessageAnimation({
  required this.animation,
  required this.caption,
  required this.showCaptionAboveMedia,
  required this.hasSpoiler,
  required this.isSecret,
});