You cannot fully turn off quick chat in RuneScape.
The best option is to avoid quick-chat worlds if you do not want to see it.