From ee38e0a006224b86d7fee4d9382798789ffd8e74 Mon Sep 17 00:00:00 2001 From: Sale Djenic Date: Fri, 8 Oct 2021 14:42:47 +0200 Subject: [PATCH] initial chat class added --- status/statusgo_backend_new/chat.nim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 status/statusgo_backend_new/chat.nim diff --git a/status/statusgo_backend_new/chat.nim b/status/statusgo_backend_new/chat.nim new file mode 100644 index 0000000..8a68892 --- /dev/null +++ b/status/statusgo_backend_new/chat.nim @@ -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) \ No newline at end of file