]> git.giacomolli.uk - onechat/blobdiff - socket.go
Check spacing between Go statement blocks
[onechat] / socket.go
index a454728b1ba347d845454788a02f85b56874843b..a306c5c81e00a6ec5f03391a4e9ae93fe7d4af6e 100644 (file)
--- a/socket.go
+++ b/socket.go
@@ -30,7 +30,8 @@ func checkSocketPath(path string) error {
 }
 
 // SocketRequest is one line from a client: "send" with the text of a user
 }
 
 // SocketRequest is one line from a client: "send" with the text of a user
-// message, or "interrupt".
+// message, "interrupt", "stop" with the name of a subagent in Text, or
+// "whatsapp" with the text after /whatsapp of a WhatsApp command.
 type SocketRequest struct {
        Type string `json:"type"`
        Text string `json:"text,omitempty"`
 type SocketRequest struct {
        Type string `json:"type"`
        Text string `json:"text,omitempty"`