mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-30 13:57:33 -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