-
Default
GroupCreateOptsfor common use cases.The group will be assigned an ID and have an empty name. The user who creates the group will be the owner of the group as well as the only admin and member of the group. The group’s private key will not be marked for rotation.
Declaration
Swift
public convenience init() -
Constructs a
GroupCreateOpts.Declaration
Parameters
idThe provided ID will be used as the group’s ID. If
nil, the server will assign the group’s ID.nameThe provided name will be used as the group’s name. If
nil, the name will be empty.add_as_adminWhether the creating user should be added as a group admin.
add_as_memberWhether the creating user should be added as a group member.
ownerThe provided user will be the owner of the group. If
nil, the creating user will be the group owner.adminsThe list of users to be added as group admins.
membersThe list of users to be added as group members.
needsRotationWhether the group’s private key should be marked for rotation.
View on GitHub
GroupCreateOpts Class Reference