Skip to main content

CommunityDetails

CommunityDetails = object

The current community's properties and counts. Returned by CommunityClient.get(). It has every Community property, so code that types the result as Community keeps compiling.

Properties​

appCount​

appCount: number

The number of Apps installed in the community.


attachedMemberCount​

attachedMemberCount: number

The number of members the community shows as present: attached, with an online status of active or inactive. A member who has chosen to appear offline is not counted, even while attached.


bannerAssetUri?​

optional bannerAssetUri?: string

Optional URI for the community's banner image.


category​

category: CommunityCategory

The community's CommunityCategory.


communityDeveloperType​

communityDeveloperType: CommunityDeveloperType

Whether this is a developer community. See CommunityDeveloperType.


communityId​

communityId: CommunityGuid

The unique identifier for the community.


communityPermission?​

optional communityPermission?: CommunityPermission

Optional. The community-level permissions your code holds in this community. See CommunityPermission.


coreCount​

coreCount: number

The number of cores currently assigned to the community.


defaultChannelId?​

optional defaultChannelId?: ChannelGuid

Optional channel ID for the system messages channel. When set, system messages (such as member join notifications) are posted to this channel.


defaultNotificationStatus​

defaultNotificationStatus: NotificationStatus

The notification level a leader chose as the community default for members, as a NotificationStatus. Unspecified means no choice was saved, which Root treats as Mention. Set it with CommunityClient.setNotificationDefault().


description?​

optional description?: string

Optional community description.


effectiveDefaultNotificationStatus​

effectiveDefaultNotificationStatus: NotificationStatus

The default notification level that applies to members who have not chosen their own. It is All only when defaultNotificationStatus is All and the community has 250 members or fewer. Otherwise it is Mention.


isAgeRestricted​

isAgeRestricted: boolean

When true, the community is age restricted.


isDiscoverable​

isDiscoverable: boolean

When true, the community is discoverable.


isDiscoverableStatus​

isDiscoverableStatus: CommunityDiscoverableRequirement

The community's discovery status, as a CommunityDiscoverableRequirement.


joinThrottle?​

optional joinThrottle?: CommunityJoinThrottle

Optional CommunityJoinThrottle configuration that limits how quickly new members can join.


memberCount​

memberCount: number

The number of members in the community.


name​

name: string

The display name of the community.


ownerUserId​

ownerUserId: UserGuid

The user ID of the community owner.


pictureAssetUri?​

optional pictureAssetUri?: string

Optional URI for the community's picture asset.


pictureHex​

pictureHex: string

The hex color code used for the community picture background.


pushRestricted​

pushRestricted: boolean

When true, only mentions send push notifications in this community. Root sets it when the community has more than 2,500 members.


rejectUnverifiedEmail​

rejectUnverifiedEmail: boolean

When true, users without verified email addresses cannot join this community.


roleCount​

roleCount: number

The number of roles in the community.