Package io.getstream.chat.android.models
Class ReactionGroup
-
- All Implemented Interfaces:
public final class ReactionGroupA group of reactions of the same type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classReactionGroup.Builder
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final Integercountprivate final IntegersumScoreprivate final DatefirstReactionAtprivate final DatelastReactionAt
-
Method Summary
Modifier and Type Method Description final StringgetType()The type of the reaction this group represents. final IntegergetCount()The number of users that have reacted with this reaction. final IntegergetSumScore()The sum of the scores of this reaction. final DategetFirstReactionAt()The first time this reaction was added. final DategetLastReactionAt()The last time this reaction was added. final ReactionGroup.BuildernewBuilder()-
-
Method Detail
-
getSumScore
final Integer getSumScore()
The sum of the scores of this reaction.
-
getFirstReactionAt
final Date getFirstReactionAt()
The first time this reaction was added.
-
getLastReactionAt
final Date getLastReactionAt()
The last time this reaction was added.
-
newBuilder
@SinceKotlin(version = "99999.9") final ReactionGroup.Builder newBuilder()
-
-
-
-