]> git.giacomolli.uk - onechat/blobdiff - socket.go
Select notification targets by stable ID
[onechat] / socket.go
index 1205d8c69a1ad4a51da6f15971dc675f0356072e..dc78d94b674afeba868a321f32a555362e81eb29 100644 (file)
--- a/socket.go
+++ b/socket.go
@@ -26,8 +26,9 @@ const (
 // with the absolute output path in Text. The backup answer is a "backup" event
 // with the path and size, or an "error" event. An "image" request has an
 // absolute Path and the caption in Text. A "notify" request has external data
-// in Notify. Its private "notify" answer has a queue ID and an accepted or
-// duplicate Status, not a processing result.
+// in Notify. Its optional agent_id selects a permanent identity, not a name.
+// Its private "notify" answer has a queue ID and an accepted or duplicate
+// Status, not a processing result.
 type SocketRequest struct {
        Type   string       `json:"type"`
        Text   string       `json:"text,omitempty"`