BEIJING - China has mediated peace talks between Myanmar’s ruling military and rebel groups, and the parties agreed on a temporary ceasefire and to maintain dialogue, Beijing said on Thursday.