partyTextChannel
partyTextChannel(
options?):TextChannel
A text channel that reaches the sender’s party, as teamTextChannel
reaches the sender’s team: a player in no party cannot write to it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
Pick<TextChannelOptions, "canSend"> |
Returns
Section titled “Returns”Example
Section titled “Example”export const textChat = defineTextChat({ channels: { all: textChannel(), party: partyTextChannel() }, });