X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/6c7859cfea123479aba046614ee81028651ddaf5..42b4acd4ba70d3c12da4513d139717e592eefe4a:/socket.go?ds=inline diff --git a/socket.go b/socket.go index 1205d8c..dc78d94 100644 --- 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"`