FollowQuery

@objcMembers
@objc(GetSocialFollowQuery)
public final class FollowQuery : NSObject

Describe a query to follow an entity.

  • Create query to follow topics.

    Declaration

    Swift

    @objc(topicsWithIds:)
    public static func topics(_ ids: [String]) -> FollowQuery

    Parameters

    ids

    List of topic ids.

    Return Value

    New FollowQuery instance.

  • Create query to follow groups.

    Declaration

    Swift

    @objc(groupsWithIds:)
    public static func groups(_ ids: [String]) -> FollowQuery

    Parameters

    ids

    List of group ids.

    Return Value

    New FollowQuery instance.

  • Create query to follow users.

    Declaration

    Swift

    @objc(usersWithIds:)
    public static func users(_ ids: UserIdList) -> FollowQuery

    Parameters

    ids

    User ids.

    Return Value

    New FollowQuery instance.

  • Create query to follow tags.

    Declaration

    Swift

    @objc(tags:)
    public static func tags(_ tags: [String]) -> FollowQuery

    Parameters

    tags

    Tags.

    Return Value

    New FollowQuery instance.

  • Create query to follow labels.

    Declaration

    Swift

    @objc(labels:)
    public static func labels(_ labels: [String]) -> FollowQuery

    Parameters

    labels

    Labels.

    Return Value

    New FollowQuery instance.

  • Description.

    Declaration

    Swift

    public override var description: String { get }