role property
User's role within a Chat space, which determines their permitted actions in the space.
This field can only be used as input in UpdateMembership
.
Optional. Possible string values are:
- "MEMBERSHIP_ROLE_UNSPECIFIED" : Default value. For users: they aren't a member of the space, but can be invited. For Google Groups: they're always assigned this role (other enum values might be used in the future).
- "ROLE_MEMBER" : A member of the space. The user has basic permissions, like sending messages to the space. In 1:1 and unnamed group conversations, everyone has this role.
- "ROLE_MANAGER" : A space manager. The user has all basic permissions plus administrative permissions that let them manage the space, like adding or removing members. Only supported in SpaceType.SPACE.
Implementation
core.String? role;