China says it welcomes the ceasefire deal between Israel and Hamas and it hopes for a permanent ceasefire in Gaza.