Group Model
A group or forum.
Properties
Property | Type | Description |
---|---|---|
avatarUrl | ?string | Full URL of group picture |
conversation | Conversation | The conversation of the group. Can be only one. |
conversationId | string | ID of conversation |
createdAt | Date | Date and time of creation |
createdByUser | User | Date and time of creation |
description | ?string | Group description |
displayName | string | Same as name |
groupType | ?string | GROUP , FORUM |
hasCurrentUser | boolean | Whether the current user belongs to this group or forum |
id | string | ID |
isPublic | boolean | Whether the group or forum is public (usually forums are, and groups are not) |
memberCount | int | Number of members |
memberIds | string[] | IDs of members |
members | User[] | List of users in this group; not fetched by default on forums |
metadata | Metadata | Dictionary object of custom key-value pairs |
name | string | Group name |
organization | Organization | Organization where this conversation takes place |
organizationId | string | ID of organization |