MutedWord constructor
Implementation
@JsonSerializable(includeIfNull: false)
const factory MutedWord({
/// The unique namespace for this lex object.
///
/// `app.bsky.actor.defs#mutedWord`
@Default(appBskyActorDefsMutedWord) @JsonKey(name: r'$type') String $type,
String? id,
/// The muted word itself.
required String value,
/// The intended targets of the muted word.
@UMutedWordTargetConverter() required List<UMutedWordTarget> targets,
/// Groups of users to apply the muted word to. If undefined, applies
/// to all users.
@UMutedWordActorTargetConverter() UMutedWordActorTarget? actorTarget,
/// The date and time at which the muted word will expire and no
/// longer be applied.
DateTime? expiresAt,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _MutedWord;