Numbers 12:6marah
He said, "Listen to my words: When prophets are among you, I, the Lord, will show myself to them in visions; I will speak to them in dreams.
God states he shows himself to prophets in visions and dreams.
2 Chronicles 9:29chazot
Everything else Solomon did, from the beginning to the end, is written in the records of Nathan the prophet, and in the prophecy of Ahijah the Shilonite, and in the visions of Iddo the seer, who wrote about Jeroboam, Nebat's son.