assistant_thread_context_changed event
The context changed while an AI assistant thread was visible
Facts
Required Scopes
No scopes required!
Compatible APIs
Assistant apps will receive this event when a user opens a new channel while the container is open. This can be used to track the active context of a user in Slack.
{
    "type": "assistant_thread_context_changed",
    "assistant_thread": {
        "user_id": "U123ABC456",
        "context": { 
            "channel_id": "C123ABC456", 
            "team_id": "T07XY8FPJ5C", 
            "enterprise_id": "E480293PS82"
        },
        "channel_id": "D123ABC456",
        "thread_ts": "1729999327.187299"
    },
    "event_ts": "17298244.022142"
}