UpdateGroupMembersQuery

@objcMembers
@objc(GetSocialUpdateGroupMembersQuery)
public final class UpdateGroupMembersQuery : NSObject

Describe updating group members query.

  • Create a query to update group members.

    Declaration

    Swift

    public init(id: String, userIds: UserIdList)

    Parameters

    id

    Group Id.

    userIds

    User ids.

  • New status of users.

    Declaration

    Swift

    public func withMemberStatus(_ status: MemberStatus) -> UpdateGroupMembersQuery

    Parameters

    status

    New member status.

    Return Value

    • UpdateGroupMembersQuery instance.

  • New role of users.

    Declaration

    Swift

    public func withRole(_ role: Role) -> UpdateGroupMembersQuery

    Parameters

    role

    New member role.

    Return Value

    • UpdateGroupMembersQuery instance.

  • Description.

    Declaration

    Swift

    public override var description: String { get }