Package io.getstream.chat.android.models
Class UserGroup
-
- All Implemented Interfaces:
@Immutable() public final class UserGroupNamed collection of users that can be mentioned together with
@<name>.
-
-
Method Summary
Modifier and Type Method Description final StringgetId()final StringgetName()final StringgetDescription()final StringgetTeam()final List<UserGroupMember>getMembers()final StringgetCreatedBy()final DategetCreatedAt()final DategetUpdatedAt()-
-
Constructor Detail
-
UserGroup
UserGroup(String id, String name, String description, String team, List<UserGroupMember> members, String createdBy, Date createdAt, Date updatedAt)
- Parameters:
id- Unique identifier of the group within an app (or team, when multi-tenancy is enabled).name- Display name; the literal that follows@in message text.description- Optional description.team- Team this group is scoped to, when multi-tenancy is enabled.members- Group members.createdBy- User ID of the creator, when known.createdAt- When the group was created.updatedAt- Last time the group's metadata changed.
-
-
Method Detail
-
getDescription
final String getDescription()
-
getMembers
final List<UserGroupMember> getMembers()
-
getCreatedBy
final String getCreatedBy()
-
getCreatedAt
final Date getCreatedAt()
-
getUpdatedAt
final Date getUpdatedAt()
-
-
-
-