mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-26 09:28:39 +00:00
core: change API to suspend agent (#752)
This commit is contained in:
@@ -101,7 +101,8 @@ data ChatCommand
|
||||
| CreateActiveUser Profile
|
||||
| StartChat {subscribeConnections :: Bool}
|
||||
| APIStopChat
|
||||
| APISetAppPhase AgentPhase
|
||||
| APIActivateChat
|
||||
| APISuspendChat {suspendTimeout :: Int}
|
||||
| ResubscribeAllConnections
|
||||
| SetFilesFolder FilePath
|
||||
| APIExportArchive ArchiveConfig
|
||||
@@ -185,7 +186,7 @@ data ChatResponse
|
||||
| CRChatStarted
|
||||
| CRChatRunning
|
||||
| CRChatStopped
|
||||
| CRAppPhase {appPhase :: AgentPhase}
|
||||
| CRChatSuspended
|
||||
| CRApiChats {chats :: [AChat]}
|
||||
| CRApiChat {chat :: AChat}
|
||||
| CRLastMessages {chatItems :: [AChatItem]}
|
||||
|
||||
Reference in New Issue
Block a user