initial chat class added

This commit is contained in:
Sale Djenic 2021-10-08 14:42:47 +02:00
parent 0eddfa2b4a
commit ee38e0a006
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
import json
import core, utils
import response_type
export response_type
proc getChats*(): RpcResponse[JsonNode] {.raises: [Exception].} =
let payload = %* []
result = callPrivateRPC("chats".prefix, payload)