add APIChatRead chat command (#282)

This commit is contained in:
Efim Poberezkin
2022-02-08 17:27:43 +04:00
committed by GitHub
parent b3a4c21c4b
commit b06838b651
4 changed files with 36 additions and 1 deletions
+1
View File
@@ -42,6 +42,7 @@ responseToView cmd = \case
CRChatItemUpdated _ -> []
CRMsgIntegrityError mErr -> viewMsgIntegrityError mErr
CRCmdAccepted _ -> r []
CRCmdOk -> r ["ok"]
CRChatHelp section -> case section of
HSMain -> r chatHelpInfo
HSFiles -> r filesHelpInfo