TagsQuery

TagsQuery

# new TagsQuery(search)

Creates a TagsQuery
Parameters:
Name Type Description
search string Term to filter tags list

Methods

# (static) all() → {TagsQuery}

All tags.
Returns:
New instance.
Type
TagsQuery

# (static) search(searchTerm) → {TagsQuery}

Search for a specific tag.
Parameters:
Name Type Description
searchTerm string Search term.
Returns:
New instance.
Type
TagsQuery

# followedBy(id) → {TagsQuery}

Get tags followed by a specific user.
Parameters:
Name Type Description
id UserId User ID.
Returns:
Same query.
Type
TagsQuery

# inTarget(target) → {TagsQuery}

Filter in which target execute the search.
Parameters:
Name Type Description
target PostActivityTarget Search target.
Returns:
Same instance.
Type
TagsQuery

# onlyTrending(trending) → {TagsQuery}

Get only trending tags.
Parameters:
Name Type Description
trending boolean Only trending tags or all.
Returns:
Same query.
Type
TagsQuery