MessageDocument constructor

const MessageDocument({
  1. required Document document,
  2. required FormattedText caption,
})

A document message (general file)

Implementation

const MessageDocument({
  required this.document,
  required this.caption,
});