DMAttachments constructor

const DMAttachments({
  1. required List<String> mediaKeys,
})

Implementation

const factory DMAttachments({
  /// List of unique identifiers of media attached to this Tweet. These
  /// identifiers use the same media key format as those returned by the
  /// Media Library.
  ///
  /// You can obtain the expanded object in includes.media by adding
  /// `TweetExpansion.attachmentsMediaKeys` in the request's query parameter.
  required List<String> mediaKeys,
}) = _DMAttachments;