General Assembly members voted overwhelmingly in favour of a resolution demanding an immediate ceasefire in Gaza.