]> git.giacomolli.uk - onechat/blobdiff - telegram.go
Submit root events through the local socket
[onechat] / telegram.go
index a024e82b3752810436176b372e3dfe25ae8627e7..78a1c7af9079c22982a02ec19bd2d377c0f71fde 100644 (file)
@@ -585,8 +585,8 @@ func (b *TelegramBot) sendOutage() *TelegramOutage {
 }
 
 // Notify queues event for the chat. It never blocks, so a slow network does not
-// stop the agent. The WhatsApp batches and the runs of the schedules do not go
-// to the chat: the reply of the agent tells the user what needs the user.
+// stop the agent. External events, WhatsApp batches, and schedule runs do not
+// go to the chat: the reply of the agent tells the user what needs the user.
 func (b *TelegramBot) Notify(event Event) {
        switch event.Kind {
        case "busy", "idle", "reply", "error", "notice", "subagent":