X-Git-Url: http://git.giacomolli.uk/onechat/blobdiff_plain/d50c22617aafed0d3d87bf4596e933b343a10b60..a3b9849a54a6cd8a4cc5b1ae03a39aab31322f7b:/socket.go diff --git a/socket.go b/socket.go index a454728..a306c5c 100644 --- 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 -// 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"`