[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [ChannelConnection](./iceshrimp-sdk.channelconnection.md) ## ChannelConnection class **Signature:** ```typescript export declare abstract class Connection = any> extends EventEmitter ``` **Extends:** EventEmitter<Channel\["events"\]> ## Constructors | Constructor | Modifiers | Description | | --- | --- | --- | | [(constructor)(stream, channel, name)](./iceshrimp-sdk.channelconnection._constructor_.md) | | Constructs a new instance of the Connection class | ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [channel](./iceshrimp-sdk.channelconnection.channel.md) | | string | | | [id](./iceshrimp-sdk.channelconnection.id.md) | abstract | string | | | [inCount](./iceshrimp-sdk.channelconnection.incount.md) | | number | | | [name?](./iceshrimp-sdk.channelconnection.name.md) | | string | _(Optional)_ | | [outCount](./iceshrimp-sdk.channelconnection.outcount.md) | | number | | | [stream](./iceshrimp-sdk.channelconnection.stream.md) | protected | [Stream](./iceshrimp-sdk.stream.md) | | ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [dispose()](./iceshrimp-sdk.channelconnection.dispose.md) | abstract | | | [send(type, body)](./iceshrimp-sdk.channelconnection.send.md) | | |