Let $M_t$ be a càdlàg martingale process. Then it is evident, by the optional stopping theorem, that for $\mathcal F_t$-stopping times $\sigma, \tau$ (not necessarily bounded) where $\sigma\le \tau$ we have that $$\mathbb{E}[M_{\tau\wedge n}\mid\mathcal{F}_{\sigma\wedge n}]= M_{\sigma\wedge n},\quad \forall n\in\mathbb{N_0}$$ because $\tau\wedge n$ and $\sigma\wedge n$ are bounded stopping times for each $n$.
Now, is it somehow possible to show that $$\mathbb{E}[M_{\tau}\mid\mathcal{F}_{\sigma}]= M_{\sigma}$$ by some limiting argument, under some additional conditions?
Would the case when $(M_{\tau\wedge n})_{n=0}^\infty$ is a uniform integrable sequence be an enough condition for above to hold?
Are there any references for this?
Edited: Changed X to M. Changed | to \mid.