Angels
From the Quran we know that the revelation came through 3 different means: a) direct revelation to the heart, b) through angel Gabriel, and c) direct conversation with the prophet.
Please refer to the ‘ Essence of Prophethood (Nabuwat ki Haqeeqat) ‘ in the following thread for further details: Discussion 15736