# new CommunitiesIds(type, ids)
Creates a CommunitiesIds
Parameters:
Name | Type | Description |
---|---|---|
type |
number | Entity type. |
ids |
Array.<string> | Entity IDs. |
Methods
# (static) activity(id) → {CommunitiesIds}
CommunitiesIds for a single activity
Parameters:
Name | Type | Description |
---|---|---|
id |
string | Activity ID. |
Returns:
- CommunitiesIds instance.
- Type
- CommunitiesIds
# (static) everywhere() → {CommunitiesIds}
CommunitiesIds for everywhere (no specific entity/entities)
Returns:
- CommunitiesIds instance.
- Type
- CommunitiesIds
# (static) group(id) → {CommunitiesIds}
CommunitiesIds for a single group
Parameters:
Name | Type | Description |
---|---|---|
id |
string | Group ID. |
Returns:
- CommunitiesIds instance.
- Type
- CommunitiesIds
# (static) groups(ids) → {CommunitiesIds}
CommunitiesIds for multiple groups
Parameters:
Name | Type | Description |
---|---|---|
ids |
Array.<string> | Group IDs. |
Returns:
- CommunitiesIds instance.
- Type
- CommunitiesIds
# (static) label(id) → {CommunitiesIds}
CommunitiesIds for a single label
Parameters:
Name | Type | Description |
---|---|---|
id |
string | Label. |
Returns:
- CommunitiesIds instance.
- Type
- CommunitiesIds
# (static) labels(ids) → {CommunitiesIds}
CommunitiesIds for multiple labels
Parameters:
Name | Type | Description |
---|---|---|
ids |
Array.<string> | Labels. |
Returns:
- CommunitiesIds instance.
- Type
- CommunitiesIds
# (static) tag(id) → {CommunitiesIds}
CommunitiesIds for a single tag
Parameters:
Name | Type | Description |
---|---|---|
id |
string | Tag. |
Returns:
- CommunitiesIds instance.
- Type
- CommunitiesIds
# (static) tags(ids) → {CommunitiesIds}
CommunitiesIds for multiple tags
Parameters:
Name | Type | Description |
---|---|---|
ids |
Array.<string> | Tags. |
Returns:
- CommunitiesIds instance.
- Type
- CommunitiesIds
# (static) timeline() → {CommunitiesIds}
CommunitiesIds for a timeline
Returns:
- CommunitiesIds instance.
- Type
- CommunitiesIds
# (static) topic(id) → {CommunitiesIds}
CommunitiesIds for a single topic
Parameters:
Name | Type | Description |
---|---|---|
id |
string | Topic ID. |
Returns:
- CommunitiesIds instance.
- Type
- CommunitiesIds
# (static) topics(ids) → {CommunitiesIds}
CommunitiesIds for multiple topics
Parameters:
Name | Type | Description |
---|---|---|
ids |
Array.<string> | Topic IDs. |
Returns:
- CommunitiesIds instance.
- Type
- CommunitiesIds
# (static) user(userId) → {CommunitiesIds}
CommunitiesIds for a single user
Parameters:
Name | Type | Description |
---|---|---|
userId |
UserId | User ID. |
Returns:
- CommunitiesIds instance.
- Type
- CommunitiesIds
# (static) users(userIdList) → {CommunitiesIds}
CommunitiesIds for multiple users
Parameters:
Name | Type | Description |
---|---|---|
userIdList |
UserIdList | User ID list. |
Returns:
- CommunitiesIds instance.
- Type
- CommunitiesIds