Actually John states that Revelation is from Jesus Himself, John only recorded what he was told.
2 who testifies to everything he sawthat is, the word of God and the testimony of Jesus Christ.
3 Blessed is the one who reads the words of this prophecy, and blessed are those who hear it and take to heart what is written in it, because the time is near.
Revelation 1:1-3