From 915d8e8b4f3027369afa643c521551ad27c36aa9 Mon Sep 17 00:00:00 2001 From: "P. D. Finn KD9WEH" Date: Sat, 7 Jun 2025 21:13:51 +0700 Subject: [PATCH] docs(readme): include groupOwner in chat example --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1d0e6ad..cf907b4 100644 --- a/README.md +++ b/README.md @@ -249,6 +249,7 @@ evt.Detail = &cotlib.Detail{ Chat: &cotlib.Chat{ ID: "Room", Chatroom: "Room", + GroupOwner: "false", SenderCallsign: "Alpha", ChatGrps: []cotlib.ChatGrp{ {ID: "Room", UID0: "AlphaUID", UID1: "BravoUID"}, @@ -264,6 +265,9 @@ evt.Detail = &cotlib.Detail{ out, _ := evt.ToXML() ``` +Note: the `groupOwner` attribute is mandatory for TAK chat messages. It must be +present for schema validation to succeed when using the TAK chat format. + Delivery or read receipts can be sent by populating `Detail.ChatReceipt` with the appropriate `Ack`, `ID`, and `MessageID` fields.