on_session_end(
self,
cause: SessionEndCause,
*,
thread_id: str | None = None
) -> None| Name | Type | Description |
|---|---|---|
cause* | SessionEndCause | Reason the session ended. |
thread_id | str | None | Default: NoneOutgoing thread, when it differs from current identity. |
Run SessionEnd for the outgoing thread.