api for chat pagination (#249)

This commit is contained in:
Efim Poberezkin
2022-02-01 15:05:27 +04:00
committed by GitHub
parent 0b86402ce3
commit 228c118714
4 changed files with 181 additions and 52 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ instance ToJSON HelpSection where
data ChatCommand
= APIGetChats
| APIGetChat ChatType Int64
| APIGetChat ChatType Int64 ChatPagination
| APIGetChatItems Int
| APISendMessage ChatType Int64 MsgContent
| APIDeleteChat ChatType Int64