updatePublicMessage

inline suspend fun ComponentInteractionBehavior.updatePublicMessage(builder: UpdateMessageInteractionResponseCreateBuilder.() -> Unit): PublicMessageInteractionResponseBehavior(source)

Responds to the interaction by updating the original public message.

There is nothing that will prevent you from calling this for an ephemeral message but subsequent operations on the returned PublicMessageInteractionResponseBehavior might fail.

This is not available for ModalSubmitInteractions that do not contain a message.