Added docs for followUser/unfollowUser and followCurator/unfollowCurator

Alex Corn
2023-10-01 21:36:28 -04:00
parent 07a060b346
commit fd65cbb2e5
2 changed files with 39 additions and 1 deletions

@@ -270,4 +270,24 @@ Gets comments from a user's Steam profile.
**v3.43.0 or later is required to use this method**
Deletes a comment from a user's profile. Must be your own profile, or your own comment on someone else's profile.
Deletes a comment from a user's profile. Must be your own profile, or your own comment on someone else's profile.
### follow([callback])
- `callback` - Optional.
- `err` - `null` on success, an `Error` object on failure
**Non-object method name: `followUser`**
**v3.47.0 or later is required to use this method.**
Follows the user and their workshop.
### unfollow([callback])
- `callback` - Optional.
- `err` - `null` on success, an `Error` object on failure
**Non-object method name: `unfollowUser`**
**v3.47.0 or later is required to use this method.**
Unfollows the user and their workshop.

@@ -701,6 +701,24 @@ const EFriendRelationship = SteamCommunity.EFriendRelationship;
Retrieves details about a shared file (artwork/screenshot/guide), given the shared file's ID.
### followCurator(curatorId[, callback])
- `curatorId` - ID of the curator you want to follow (this is not a SteamID)
- `callback` - Optional.
- `err` - `null` on success, or an `Error` object on failure
**v3.47.0 or later is required to use this method**
Adds a Steam curator to your followed list.
### unfollowCurator(curatorId[, callback])
- `curatorId` - ID of the curator you want to unfollow (this is not a SteamID)
- `callback` - Optional.
- `err` - `null` on success, or an `Error` object on failure
**v3.47.0 or later is required to use this method**
Removes a Steam curator from your followed list.
# Events
### sessionExpired