ConnectApi.ChatterGroup Class

This class is abstract.

Subclass of ConnectApi.​ActorWithId Class

Name Type Description Available Version
additional​Label String An additional label for the group, for example, “Archived,” “Private,” or “Private With Customers.” If there isn’t an additional label, the value is null. 30.0
announcement ConnectApi.​Announcement The current announcement for this group. An announcement displays in a designated location in the Salesforce UI until 11:59 p.m. on its expiration date, unless it’s deleted or replaced by another announcement. 31.0
canHave​ChatterGuests Boolean true if this group allows Chatter guests 28.0
community ConnectApi.​​Reference Information about the community the group is in 28.0
description String Group’s description 28.0
emailTo​ChatterAddress String Group’s email address for posting to this group by email.

Returns null if Chatter emails and posting to Chatter by email aren’t both enabled in your organization.

30.0
isArchived Boolean Specifies whether the group is archived (true) or not (false). 29.0
isAuto​ArchiveDisabled Boolean Specifies whether automatic archiving is disabled for the group (true) or not (false). 29.0
lastFeedElement​PostDate Datetime ISO8601 date string, for example, 2011-02-25T18:24:31.000Z, of the most recent feed element posted to the group. 31.0
lastFeedItem​PostDate Datetime ISO8601 date string, for example, 2011-02-25T18:24:31.000Z, of the most recent feed item posted to the group.

Use lastFeedElementPosted.

28.0–30.0
memberCount Integer Total number of group members 28.0
myRole ConnectApi.​GroupMembership​Type Enum Specifies the type of membership the user has with the group, such as group owner, manager, or member.
  • GroupOwner
  • GroupManager
  • NotAMember
  • NotAMemberPrivateRequested
  • StandardMember
28.0
mySubscription ConnectApi.​​Reference If the context user is a member of this group, contains information about that subscription; otherwise, returns null. 28.0
name String Name of the group 28.0
owner ConnectApi.​User​Summary Information about the owner of the group 28.0
photo ConnectApi.Photo Information about the group photo 28.0
visibility ConnectApi.​GroupVisibility​Type Enum Specifies the group visibility type. Valid values are:
  • PrivateAccess—Only members of the group can see posts to this group.
  • PublicAccess—All users within the community can see posts to this group.
  • Unlisted—Reserved for future use.
28.0
Previous
Next