aboutsummaryrefslogtreecommitdiffstats
path: root/signald/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'signald/types.py')
-rw-r--r--signald/types.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/signald/types.py b/signald/types.py
index 75cdcbd..b1c4b51 100644
--- a/signald/types.py
+++ b/signald/types.py
@@ -13,10 +13,11 @@ class Attachment:
class Message:
username = attr.ib(type=str)
source = attr.ib(type=str)
- message = attr.ib(type=str)
+ text = attr.ib(type=str)
source_device = attr.ib(type=int, default=0)
timestamp = attr.ib(type=int, default=None)
timestamp_iso = attr.ib(type=str, default=None)
expiration_secs = attr.ib(type=int, default=0)
+ is_receipt = attr.ib(type=bool, default=False)
attachments = attr.ib(type=list, default=[])
quote = attr.ib(type=str, default=None)