Did the Chinese use gunpowder against the Mongols?

by nowlan101

I'm listening to Hardcore History and Dan Carlin mentions the contradictory accounts of whether Chinese forced used gunpowder against Ogadai's invasion and I'm wondering if you guys have any sources?

40kfreak

Just to clarify, did Dan say "Gunpowder" or "Cannon"?