Overview
Properties
Methods
Properties
Methods
follows(broadcaster)
asyncChecks whether the user is following the given broadcaster.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
broadcaster | UserIdResolvable | none |
The broadcaster to check the user's follow to. |
getFollowFrom(user)
asyncRetrieves the follow data of the given user to the broadcaster.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
user | UserIdResolvable | none |
The user to check the follow from. |
getFollows()
asyncRetrieves a list of broadcasters the user follows.
getFollowTo(broadcaster)
asyncRetrieves the follow data of the user to the given broadcaster.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
broadcaster | UserIdResolvable | none |
The broadcaster to check the follow to. |
getSubscriptionTo(broadcaster)
async
Retrieves the subscription data for the user to the given
broadcaster, or null
if the user is not
subscribed.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
broadcaster | UserIdResolvable | none |
The broadcaster you want to get the subscription data for. |
isFollowedBy(user)
asyncChecks whether the given user is following the broadcaster.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
user | UserIdResolvable | none |
The user to check the broadcaster's follow from. |
isSubscribedTo(broadcaster)
asyncChecks whether the user is subscribed to the given broadcaster.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
broadcaster | UserIdResolvable | none |
The broadcaster you want to check the subscription for. |