DBTEAMGroupMembersRemoveArg

@interface DBTEAMGroupMembersRemoveArg
    : DBTEAMIncludeMembersArg <DBSerializable, NSCopying>

The GroupMembersRemoveArg struct.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithGroup:(nonnull DBTEAMGroupSelector *)group
            users:(nonnull NSArray<DBTEAMUserSelectorArg *> *)users
    returnMembers:(nullable NSNumber *)returnMembers;

    Swift

    init(group: DBTEAMGroupSelector, users: [DBTEAMUserSelectorArg], returnMembers: NSNumber?)

    Parameters

    group

    Group from which users will be removed.

    users

    List of users to be removed from the group.

    returnMembers

    Whether to return the list of members in the group. Note that the default value will cause all the group members to be returned in the response. This may take a long time for large groups.

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithGroup:(nonnull DBTEAMGroupSelector *)group
            users:(nonnull NSArray<DBTEAMUserSelectorArg *> *)users;

    Swift

    init(group: DBTEAMGroupSelector, users: [DBTEAMUserSelectorArg])

    Parameters

    group

    Group from which users will be removed.

    users

    List of users to be removed from the group.

    Return Value

    An initialized instance.