  Understanding the production mechanisms and utilizing them as probes to
investigate the structure of exotic states represent some of the most actively
studied research areas in particle physics. In this study, we present a
theoretical analysis of the charmed meson $T^{-}_{cc}$ in the
$\gamma{}p\to{}D^{+}T^{-}_{cc}\Lambda^{+}_{c}$ and
$\gamma\gamma\to{}D^{+}T^{-}_{cc}D^{*0}$ reactions, considering $T^{+}_{cc}$ as
a $DD^{*}$ molecule. The differential cross-section and total cross-section for
the photoproduction of $T^{-}_{cc}$ in the
$\gamma{}p\to{}D^+T^{-}_{cc}\Lambda^{+}_{c}$ and
$\gamma\gamma\to{}D^{+}T^{-}_{cc}D^{*0}$ reactions are presented for
nucleus-nucleus (nucleon-nucleon) ultraperipheral collisions at HL-LHC and
RHIC, respectively. Taking into account the integrated luminosity per typical
run and the luminosity of photons from the nucleus (nucleon), we observe a
significant event count for $T^ {-} _{cc}$ production in p-p ultraperipheral
collisions at HL-LHC.
