ThreadgateRecord constructor
Implementation
@JsonSerializable(includeIfNull: false)
const factory ThreadgateRecord({
/// The unique namespace for this lex object.
///
/// `app.bsky.feed.threadgate`
@Default(appBskyFeedThreadgate) @JsonKey(name: r'$type') String $type,
/// Reference (AT-URI) to the post record.
@AtUriConverter() required AtUri post,
@UThreadgateAllowConverter() List<UThreadgateAllow>? allow,
required DateTime createdAt,
/// List of hidden reply URIs.
@AtUriConverter() List<AtUri>? hiddenReplies,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ThreadgateRecord;