Overview
Properties
Properties
Methods
follows(broadcaster)
asyncChecks whether the user is following the given broadcaster.
Parameter | Type | Description |
---|---|---|
broadcaster | UserIdResolvable | The broadcaster to check the user's follow to. |
getFollowFrom(user)
asyncRetrieves the follow data of the given user to the broadcaster.
Parameter | Type | Description |
---|---|---|
user | UserIdResolvable | 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 | Description |
---|---|---|
broadcaster | UserIdResolvable | The broadcaster to check the follow to. |
getSubscriptionTo(broadcaster)
asyncRetrieves the subscription data for the user to the given broadcaster, or `null` if the user is not subscribed.
Parameter | Type | Description |
---|---|---|
broadcaster | UserIdResolvable | The broadcaster you want to get the subscription data for. |
isFollowedBy(user)
asyncChecks whether the given user is following the broadcaster.
Parameter | Type | Description |
---|---|---|
user | UserIdResolvable | The user to check the broadcaster's follow from. |
isSubscribedTo(broadcaster)
asyncChecks whether the user is subscribed to the given broadcaster.
Parameter | Type | Description |
---|---|---|
broadcaster | UserIdResolvable | The broadcaster you want to check the subscription for. |
setDescription(description)
asyncChanges the description of the user.
Parameter | Type | Description |
---|---|---|
description | string | The new description. |