[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Stream](./iceshrimp-sdk.stream.md) > [disconnectToChannel](./iceshrimp-sdk.stream.disconnecttochannel.md) ## Stream.disconnectToChannel() method **Signature:** ```typescript disconnectToChannel(connection: NonSharedConnection): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | connection | NonSharedConnection | | **Returns:** void