|This feature is exclusive to Java Edition.|
Sends message to all players on the team of the entity who runs the command.
- Specifies the mesage to send to team. Must be a string that does not require quotation marks and can include spaces (and target selectors if executor is an op).
Fails if the arguments are not specified correctly.
On success, only player(s) on the same team can see the private team message in their chat. If a multi-person target selector (e.g., @a) is used in message, the list of names is formatted as "name1 and name2" for two players, or "name1, name2, ... and namen" for n players.