mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-28 21:08:52 -07:00
91dddc439f
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