  Prompted by the recent discoveries of $T_{c\bar{s}0}(2900)^{++}$ in the
$D_s^+\pi^+$ invariant mass distribution of $B^+\to D^-D_s^+\pi^+$ process, we
present a model that hopes to help us investigate the nature of
$T_{c\bar{s}0}(2900)^{++}$ by reproducing the mass distribution of $D^-\pi^+,
D_s^+\pi^+$ and $D^-D_s^+$ in $B^+ \to D^-D_s^+\pi^+$ decays. The structure of
the triangular singularity peak generated from the $\chi_{c1}D^{*+}K^{*+}$ loop
near the $D^{*+}K^{*+}$ threshold is considered in our model may be the
experimentally discovered resonance-like state structure
$T_{c\bar{s}0}(2900)^{++}$. In addition, we employ a coupled-channel approach
to describe the dominant contribution of the $D\pi$ $S\text{-wave}$ amplitude,
and also consider other excitations. Our model provides a well fit to the
invariant mass distributions of $D^-\pi^+, D_s^+\pi^+$ and $D^-D_s^+$
simultaneously.
