InputMessageDocument constructor

const InputMessageDocument({
  1. required InputFile document,
  2. InputThumbnail? thumbnail,
  3. required bool disableContentTypeDetection,
  4. FormattedText? caption,
})

A document message (general file)

Implementation

const InputMessageDocument({
  required this.document,
  this.thumbnail,
  required this.disableContentTypeDetection,
  this.caption,
});