MessageAttachmentResponse constructor

const MessageAttachmentResponse({
  1. required String id,
  2. required String filename,
  3. required int size,
  4. required MessageAttachmentFlags flags,
  5. String? title,
  6. String? description,
  7. String? contentType,
  8. String? contentHash,
  9. String? url,
  10. String? proxyUrl,
  11. Int32Type? width,
  12. Int32Type? height,
  13. String? placeholder,
  14. bool? nsfw,
  15. Int32Type? duration,
  16. String? waveform,
  17. String? expiresAt,
  18. bool? expired,
})

Implementation

const MessageAttachmentResponse({
  required this.id,
  required this.filename,
  required this.size,
  required this.flags,
  this.title,
  this.description,
  this.contentType,
  this.contentHash,
  this.url,
  this.proxyUrl,
  this.width,
  this.height,
  this.placeholder,
  this.nsfw,
  this.duration,
  this.waveform,
  this.expiresAt,
  this.expired,
});