This resolves possible confusion between iceshrimp-js (this project) and iceshrimp-sdk (the package)
595 B
595 B
Home > iceshrimp-sdk > 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