MessageRef constructor

  1. @JsonSerializable(includeIfNull: false)
const MessageRef({
  1. @Default(chatBskyConvoDefsMessageRef) @JsonKey(name: r'$type') String $type,
  2. required String did,
  3. required String convoId,
  4. required String messageId,
  5. @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;