11 [CollectionName(
"MucMessages")]
12 [ArchivingTime(nameof(ArchiveDays))]
13 [Index(
"Domain",
"Room",
"-Timestamp")]
16 private string objectId =
null;
17 private string messageId =
string.Empty;
18 private string language =
string.Empty;
19 private string contentXml =
string.Empty;
24 private DateTime timestamp = DateTime.MinValue;
25 private int archiveMessagesDays = 0;
35 public string ObjectID
38 set => this.objectId = value;
41 [DefaultValueStringEmpty]
42 public string MessageId
44 get => this.messageId;
45 set => this.messageId = value;
48 [DefaultValueStringEmpty]
49 public string Language
52 set => this.language = value;
55 [DefaultValueStringEmpty]
56 public string ContentXml
58 get => this.contentXml;
59 set => this.contentXml = value;
65 set => this.room = value;
71 set => this.domain = value;
77 set => this.nickName = value;
83 set => this.fullJid = value;
86 public DateTime Timestamp
88 get => this.timestamp;
89 set => this.timestamp = value;
97 get => this.archiveMessagesDays;
98 set => this.archiveMessagesDays = value;
Represents a case-insensitive string.
static readonly CaseInsensitiveString Empty
Empty case-insensitive string
Multi-user Chat Room Message
MucMessage()
Multi-user Chat Room Message
int ArchiveDays
Number of days to archive field.
TypeNameSerialization
How the type name should be serialized.