core: sending messages with files (#507)

Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
This commit is contained in:
JRoberts
2022-04-10 13:30:58 +04:00
committed by GitHub
parent 150b4196ea
commit 13f84f2a96
14 changed files with 670 additions and 297 deletions
+2 -2
View File
@@ -94,8 +94,8 @@ data ChatCommand
| APIGetChats
| APIGetChat ChatType Int64 ChatPagination
| APIGetChatItems Int
| APISendMessage ChatType Int64 (Maybe FilePath) MsgContent
| APISendMessageQuote ChatType Int64 ChatItemId (Maybe FilePath) MsgContent
| APISendMessage ChatType Int64 (Maybe FilePath) (Maybe ChatItemId) MsgContent
| APISendMessageQuote ChatType Int64 ChatItemId MsgContent -- TODO discontinue
| APIUpdateChatItem ChatType Int64 ChatItemId MsgContent
| APIDeleteChatItem ChatType Int64 ChatItemId CIDeleteMode
| APIChatRead ChatType Int64 (ChatItemId, ChatItemId)