MessageDeltaObject constructor

const MessageDeltaObject({
  1. required String id,
  2. required MessageDeltaObjectObject object,
  3. required MessageDelta delta,
})

Factory constructor for MessageDeltaObject

Implementation

const factory MessageDeltaObject({
  /// The identifier of the message, which can be referenced in API endpoints.
  required String id,

  /// The object type, which is always `thread.message.delta`.
  required MessageDeltaObjectObject object,

  /// The delta containing the fields that have changed on the Message.
  required MessageDelta delta,
}) = _MessageDeltaObject;