trashposs/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.send.md
2023-07-21 19:33:01 +02:00

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