Hamas has “not closed the door” on the Gaza ceasefire talks with Israel, an official tells AFP.