EmbedExternalViewExternal constructor
- @JsonSerializable.new(includeIfNull: false)
const
EmbedExternalViewExternal(
{ - @Default.new('app.bsky.embed.external#viewExternal') String $type,
- required String uri,
- required String title,
- required String description,
- String? thumb,
- DateTime? createdAt,
- DateTime? updatedAt,
- int? readingTime,
- @LabelConverter() List<Label>? labels,
- @EmbedExternalViewExternalSourceConverter() EmbedExternalViewExternalSource? source,
- @RepoStrongRefConverter() List<RepoStrongRef>? associatedRefs,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory EmbedExternalViewExternal({
@Default('app.bsky.embed.external#viewExternal') String $type,
required String uri,
required String title,
required String description,
String? thumb,
/// When the external content was created, if available. Example: a publication date, for an article.
DateTime? createdAt,
/// When the external content was updated, if available.
DateTime? updatedAt,
/// Estimated reading time in minutes, if applicable and available.
int? readingTime,
@LabelConverter() List<Label>? labels,
@EmbedExternalViewExternalSourceConverter()
EmbedExternalViewExternalSource? source,
@RepoStrongRefConverter() List<RepoStrongRef>? associatedRefs,
Map<String, dynamic>? $unknown,
}) = _EmbedExternalViewExternal;