602 B
602 B
Home > iceshrimp-js > ChannelConnection > send
ChannelConnection.send() method
Signature:
send<T extends keyof Channel["receives"]>(
type: T,
body: Channel["receives"][T],
): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| type | T | |
| body | Channel["receives"][T] |
Returns:
void