GroupsQuery
@objcMembers
@objc(GetSocialGroupsQuery)
public final class GroupsQuery : NSObject
Describe query to get group.
-
Create a query to find a group.
Declaration
Swift
@objc(find:) public static func find(_ searchTerm: String) -> GroupsQuery
Parameters
searchTerm
Search term.
Return Value
New
GroupsQuery
instance. -
Create a query to get groups.
Declaration
Swift
@objc(all) public static func all() -> GroupsQuery
Return Value
New
GroupsQuery
instance. -
Filters groups followed by a specific user.
Declaration
Swift
@objc(followedByUserWithId:) public func followedBy(_ id: UserId) -> GroupsQuery
Parameters
id
User id.
-
Filters groups which a specific user is member of.
Declaration
Swift
@objc(byMemberId:) public func byMember(_ id: UserId) -> GroupsQuery
Parameters
id
User id.
-
Filters trending groups and orders them by popularity.
Declaration
Swift
@objc(onlyTrending:) public func onlyTrending(_ trending: Bool = true) -> GroupsQuery
Parameters
trending
Bool
Return Value
New GroupsQuery instance.
-
Filters groups by the specified labels.
- labels: [String]
Declaration
Swift
@objc(withLabels:) public func withLabels(_ labels: [String]) -> GroupsQuery
Return Value
New GroupsQuery instance.
-
Filters groups by the specified properties.
- properties: [String: String]
Declaration
Swift
@objc(withProperties:) public func withProperties(_ properties: [String : String]) -> GroupsQuery
Return Value
New GroupsQuery instance.
-
Description.
Declaration
Swift
public override var description: String { get }