Skip to content

Commit ee96f82

Browse files
committed
update docs
1 parent e2dd754 commit ee96f82

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/stream_feed/lib/src/core/models/realtime_message.dart

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ class RealtimeMessage extends Equatable {
4545
final List<ForeignIdTimePair> deletedForeignIds;
4646

4747
/// All activities created by this update
48+
/// Do note that new activities coming from subscription
49+
/// will only contain enrichment for these fields:
50+
///
51+
/// 1. Activity `SA`
52+
/// 2. Reaction `SR`
53+
/// 3. Object `SO`
54+
/// 4. User `SU`
55+
///
56+
/// the only thing you don’t get is the enriched reactions like `own_reaction`
57+
/// or `latest_reactions`
4858
@JsonKey(name: 'new')
4959
final List<EnrichedActivity> newActivities;
5060

0 commit comments

Comments
 (0)