initial chat class added
This commit is contained in:
parent
0eddfa2b4a
commit
ee38e0a006
|
@ -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)
|
Loading…
Reference in New Issue