I know that dramatic irony is when the audience knows things the characters don't, but what do you call it when the characters in a story know information that the audience does not?
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
Antonyms and opposites are hard to pin down (owing to the many nuances a single term can have), but literary omniscience might be close to what you're looking for.