From 4ea8b222d372a01e3ca105d9daeb664aa879ad35 Mon Sep 17 00:00:00 2001 From: Nils Date: Thu, 18 Mar 2021 21:58:30 +0000 Subject: [PATCH] Document Unread and IsMuted field of Chat struct --- store.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/store.go b/store.go index 994d0581..0707db3e 100644 --- a/store.go +++ b/store.go @@ -20,8 +20,13 @@ type Contact struct { type Chat struct { Jid string Name string + // Number of unread messages + // -1 if marked as unread Unread string LastMessageTime string + // Unix timestamp of when to unmute notifications + // 0 if notifications are not muted + // -1 if notifications are muted for "Always" IsMuted string IsMarkedSpam string }