RESTAPIMessageReference: _AddUndefinedToPossiblyUndefinedPropertiesOfInterface<
    Required<Pick<APIMessageReference, "message_id">>,
> & _StrictPartial<APIMessageReference> & { fail_if_not_exists?: boolean }

Type declaration

  • Optionalfail_if_not_exists?: boolean

    Whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message

    true