Map<String, dynamic> toJson() => { 'msgId': messageId, 'ack_id': receiptId, 'from': from.toJson(), 'count': readCount, 'timestamp': timestamp, };