You can use AfterActivationBehavior = PendingUpdate
to achieve multi-step interactivity in toasts, where your app is activated but the toast stays on screen, waiting for your app to send an update to the toast.
This code sample illustrates how to build an app using this feature.