MessageRef constructor
- @JsonSerializable(includeIfNull: false)
const
MessageRef(
{ - @Default(chatBskyConvoDefsMessageRef) @JsonKey(name: r'$type') String $type,
- required String did,
- required String convoId,
- required String messageId,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory MessageRef({
/// The unique namespace for this lex object.
///
/// `chat.bsky.convo.defs#messageRef`
@Default(chatBskyConvoDefsMessageRef) @JsonKey(name: r'$type') String $type,
required String did,
required String convoId,
required String messageId,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _MessageRef;