[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Stream](./iceshrimp-js.stream.md) > [useChannel](./iceshrimp-js.stream.usechannel.md) ## Stream.useChannel() method **Signature:** ```typescript useChannel( channel: C, params?: Channels[C]["params"], name?: string, ): Connection; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | channel | C | | | params | [Channels](./iceshrimp-js.channels.md)\[C\]\["params"\] | _(Optional)_ | | name | string | _(Optional)_ | **Returns:** [Connection](./iceshrimp-js.channelconnection.md)<[Channels](./iceshrimp-js.channels.md)\[C\]>