2021-10-08 14:42:47 +02:00

9 lines
213 B
Nim

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