@@ -46,9 +46,15 @@ sealed class Message with _$Message {
46
46
/// Timestamp when the message was last updated.
47
47
@EpochDateTimeConverter () DateTime ? updatedAt,
48
48
49
+ /// Timestamp when the message was last edited.
50
+ @EpochDateTimeConverter () DateTime ? editedAt,
51
+
49
52
/// Map of reaction keys to lists of user IDs who reacted.
50
53
Map <String , List <UserID >>? reactions,
51
54
55
+ /// Indicates if the message is pinned.
56
+ bool ? pinned,
57
+
52
58
/// Additional custom metadata associated with the message.
53
59
Map <String , dynamic >? metadata,
54
60
@@ -95,6 +101,9 @@ sealed class Message with _$Message {
95
101
/// Map of reaction keys to lists of user IDs who reacted.
96
102
Map <String , List <String >>? reactions,
97
103
104
+ /// Indicates if the message is pinned.
105
+ bool ? pinned,
106
+
98
107
/// Additional custom metadata associated with the message.
99
108
Map <String , dynamic >? metadata,
100
109
@@ -137,6 +146,9 @@ sealed class Message with _$Message {
137
146
/// Map of reaction keys to lists of user IDs who reacted.
138
147
Map <String , List <UserID >>? reactions,
139
148
149
+ /// Indicates if the message is pinned.
150
+ bool ? pinned,
151
+
140
152
/// Additional custom metadata associated with the message.
141
153
Map <String , dynamic >? metadata,
142
154
@@ -197,6 +209,9 @@ sealed class Message with _$Message {
197
209
/// Map of reaction keys to lists of user IDs who reacted.
198
210
Map <String , List <UserID >>? reactions,
199
211
212
+ /// Indicates if the message is pinned.
213
+ bool ? pinned,
214
+
200
215
/// Additional custom metadata associated with the message.
201
216
Map <String , dynamic >? metadata,
202
217
@@ -248,6 +263,9 @@ sealed class Message with _$Message {
248
263
/// Map of reaction keys to lists of user IDs who reacted.
249
264
Map <String , List <UserID >>? reactions,
250
265
266
+ /// Indicates if the message is pinned.
267
+ bool ? pinned,
268
+
251
269
/// Additional custom metadata associated with the message.
252
270
Map <String , dynamic >? metadata,
253
271
@@ -305,6 +323,9 @@ sealed class Message with _$Message {
305
323
/// Map of reaction keys to lists of user IDs who reacted.
306
324
Map <String , List <UserID >>? reactions,
307
325
326
+ /// Indicates if the message is pinned.
327
+ bool ? pinned,
328
+
308
329
/// Additional custom metadata associated with the message.
309
330
Map <String , dynamic >? metadata,
310
331
@@ -359,6 +380,9 @@ sealed class Message with _$Message {
359
380
/// Map of reaction keys to lists of user IDs who reacted.
360
381
Map <String , List <UserID >>? reactions,
361
382
383
+ /// Indicates if the message is pinned.
384
+ bool ? pinned,
385
+
362
386
/// Additional custom metadata associated with the message.
363
387
Map <String , dynamic >? metadata,
364
388
@@ -401,6 +425,9 @@ sealed class Message with _$Message {
401
425
/// Map of reaction keys to lists of user IDs who reacted.
402
426
Map <String , List <UserID >>? reactions,
403
427
428
+ /// Indicates if the message is pinned.
429
+ bool ? pinned,
430
+
404
431
/// Application-specific custom metadata.
405
432
Map <String , dynamic >? metadata,
406
433
}) = CustomMessage ;
@@ -441,6 +468,9 @@ sealed class Message with _$Message {
441
468
/// Map of reaction keys to lists of user IDs who reacted.
442
469
Map <String , List <UserID >>? reactions,
443
470
471
+ /// Indicates if the message is pinned.
472
+ bool ? pinned,
473
+
444
474
/// Additional custom metadata associated with the message.
445
475
Map <String , dynamic >? metadata,
446
476
}) = UnsupportedMessage ;
0 commit comments