message

open val message: Message?(source)

The message the Component, to which the modal was the response for, is attached to.

This is only present if the interaction was created by submitting a modal that was the response for a ComponentInteraction.