Speaking at a press conference in Beijing, Roland Kobia said the European Union was not in contact with the Taliban and urged those countries that were, including China, to talk to certain Taliban groups and mediate in the conflict, Efe reported.
Mattis comments came during a trip to Afghanistan that is expected to precede a sharp increase in fighting after U.S. President Donald Trump approved a more aggressive strategy against the insurgents previous year that included more U.S. combat advisors and air strikes. Mattis noted some positive indications from Islamabad, including Pakistani military operations along the border.
Two weeks ago, Ghani had offered the Taliban political recognition and talks without any pre-conditions in order to reopen peace negotiations and end a long-running conflict.
It was titled Offering Peace: Framing the Kabul Conference, and laid out a seven-point roadmap for peace.
The taunts follow a statement released late last week where the Taliban described the Afghan government as "illegitimate" and its peace process efforts as "deceptive".
Afghanistan experts have long anxious that a precipitous USA exit could usher in defeat for the Afghan army.
The Taliban 's silence has provoked repeated calls for a direct response to Ghani's proposal made at an worldwide conference in Kabul on February 28.
"I think we will succeed, and we hope and pray that our worldwide friends and our regional friends will stay with us, and that people on the other side, the Taliban, will see that this is their best chance and we hope that they will take a chance that is offered earnestly and for the good of our people", Ghani said. "It's all working to achieve a political reconciliation, not a military victory".
"It may not be that the whole Taliban comes over in one fell swoop". In return, the Taliban would need to recognise the Kabul government and constitution - a perennial sticking point in past attempts to open talks.
Uzbekistan is set to host an Afghan peace conference this month, where participants are expected to call for direct talks between the militant group and Ghani's government.
Earlier, officials said that Kabul was deploying more troops to Farah to counter the frequent Taliban attacks and protect a planned multi-billion-dollar pipeline.