Private
Public Access
1
0

implement bubble view

This commit is contained in:
2025-04-30 19:12:00 -07:00
parent e976b3db4c
commit 4c7c31ab8d
6 changed files with 368 additions and 51 deletions

View File

@@ -5,7 +5,13 @@ public class Message : Object
public string guid { get; set; default = ""; }
public string content { get; set; default = ""; }
public int64 date { get; set; default = 0; }
public string?sender { get; set; default = null; }
public string? sender { get; set; default = null; }
public Message(string content, int64 date, string? sender) {
this.content = content;
this.date = date;
this.sender = sender;
}
public Message.from_hash_table(HashTable<string, Variant> message_data) {
guid = message_data["guid"].get_string();