UserGroup

constructor(id: String, name: String, description: String? = null, team: String = "", members: List<UserGroupMember> = emptyList(), createdBy: String? = null, createdAt: Date? = null, updatedAt: Date? = null)

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. Empty when not.

members

Group members. May be empty when the group object only carries metadata.

createdBy

User ID of the creator, when known.

createdAt

When the group was created.

updatedAt

Last time the group's metadata changed.