The Teams API, when it generates an alert, only shows the flagged message. Because it is not triggered by the agent it cannot produce a screenshot to show wider context. However, messages before and after should be accessible by the API to generate into the interface.