Reddit.NET  1.5
Reddit.NET is a .NET Standard library that provides easy access to the Reddit API with virtually no boilerplate code required.
Reddit.Controllers.User Class Reference

Controller class for users. More...

Inheritance diagram for Reddit.Controllers.User:
Reddit.Controllers.Internal.Monitors Reddit.Controllers.BaseController Reddit.Controllers.Internal.Validators

Public Member Functions

 User (Dispatch dispatch, Things.User user)
 Create a new user controller instance from API return data. More...
 
 User (Dispatch dispatch, User user)
 Copy another user controller instance onto this one. More...
 
 User (Dispatch dispatch, string name, string id=null, bool isFriend=false, bool profanityFilter=false, bool isSuspended=false, bool hasGoldSubscription=false, int numFriends=0, bool IsVerified=false, bool hasNewModmail=false, bool over18=false, bool isGold=false, bool isMod=false, bool hasVerifiedEmail=false, string iconImg=null, bool hasModmail=false, int linkKarma=0, int inboxCount=0, bool hasMail=false, DateTime created=default(DateTime), int commentKarma=0, bool hasSubscribed=false)
 Create a new user controller instance, populated manually. More...
 
 User (Dispatch dispatch)
 Create an empty user controller instance. More...
 
void AddRelationship (string banContext, string banMessage, string banReason, string container, int? duration, string permissions, string type, string subreddit=null)
 Create a relationship between a user and another user or subreddit. OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_unfriend More...
 
async Task AddRelationshipAsync (string banContext, string banMessage, string banReason, string container, int? duration, string permissions, string type, string subreddit=null)
 Asynchronously create a relationship between a user and another user or subreddit. OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_unfriend More...
 
void AddRelationship (UsersFriendInput usersFriendInput, string subreddit=null)
 Create a relationship between a user and another user or subreddit. OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_unfriend More...
 
async Task AddRelationshipAsync (UsersFriendInput usersFriendInput, string subreddit=null)
 Asynchronously create a relationship between a user and another user or subreddit. OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_unfriend More...
 
void RemoveRelationship (string type, string container="", string subreddit=null)
 Remove a relationship between a user and another user or subreddit. If type is friend or enemy, 'container' MUST be the current user's fullname; for other types, the subreddit must be set via URL (e.g., /r/funny/api/unfriend). OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_friend More...
 
async Task RemoveRelationshipAsync (string type, string container="", string subreddit=null)
 Asynchronously remove a relationship between a user and another user or subreddit. OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_friend More...
 
void RemoveRelationship (UsersUnfriendInput usersUnfriendInput, string subreddit=null)
 Remove a relationship between a user and another user or subreddit. If type is friend or enemy, 'container' MUST be the current user's fullname; for other types, the subreddit must be set via URL (e.g., /r/funny/api/unfriend). OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_friend More...
 
async Task RemoveRelationshipAsync (UsersUnfriendInput usersUnfriendInput, string subreddit=null)
 Asynchronously remove a relationship between a user and another user or subreddit. OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_friend More...
 
void Report (string reason, string details="{}")
 Report a user. Reporting a user brings it to the attention of a Reddit admin. More...
 
async Task ReportAsync (string reason, string details="{}")
 Report a user asynchronously. Reporting a user brings it to the attention of a Reddit admin. More...
 
void SetPermissions (string subreddit, string permissions, string type)
 Set permissions. More...
 
async Task SetPermissionsAsync (string subreddit, string permissions, string type)
 Set permissions asynchronously. More...
 
void SetPermissions (UsersSetPermissionsInput usersSetPermissionsInput, string subreddit=null)
 Set permissions. More...
 
async Task SetPermissionsAsync (UsersSetPermissionsInput usersSetPermissionsInput, string subreddit=null)
 Set permissions asynchronously. More...
 
bool? UsernameAvailable ()
 Check whether this instance's username is available for registration. More...
 
List< AwardTrophies ()
 Return a list of trophies for the given user. More...
 
User About ()
 Return information about the user, including karma and gold status. More...
 
List< PostGetPostHistory (string where="submitted", int context=3, string t="all", int limit=25, string sort="", string after="", string before="", bool includeCategories=false, string show="all", bool srDetail=false, int count=0)
 Retrieve the user's post history. More...
 
List< PostGetPostHistory (UsersHistoryInput usersHistoryInput, string where="submitted")
 Retrieve the user's post history. More...
 
List< CommentOrPostGetOverview (int context=3, string t="all", int limit=25, string sort="", string after="", string before="", bool includeCategories=false, string show="all", bool srDetail=false, int count=0)
 Retrieve the user's overview. More...
 
List< CommentOrPostGetOverview (UsersHistoryInput usersHistoryInput)
 Retrieve the user's overview. More...
 
List< CommentGetCommentHistory (int context=3, string t="all", int limit=25, string sort="", string after="", string before="", bool includeCategories=false, string show="all", bool srDetail=false, int count=0)
 Retrieve the user's comment history. More...
 
List< CommentGetCommentHistory (UsersHistoryInput usersHistoryInput)
 Retrieve the user's comment history. More...
 
List< ModeratedListItemGetModeratedSubreddits (int limit=25, string after="", string before="", bool includeCategories=false, string show="all", bool srDetail=false, int count=0)
 Retrieve a list of subreddits that the user moderates. More...
 
List< ModeratedListItemGetModeratedSubreddits (UsersHistoryInput usersHistoryInput)
 Retrieve a list of subreddits that the user moderates. More...
 
void DeleteFlair (string subreddit)
 Delete flair. More...
 
async Task DeleteFlairAsync (string subreddit)
 Delete flair asynchronously. More...
 
void CreateFlair (string subreddit, string text, string cssClass="")
 Create a new user flair. More...
 
async Task CreateFlairAsync (string subreddit, string text, string cssClass="")
 Create a new user flair asynchronously. More...
 
void CreateFlair (FlairCreateInput flairCreateInput, string subreddit=null)
 Create a new user flair. More...
 
async Task CreateFlairAsync (FlairCreateInput flairCreateInput, string subreddit=null)
 Create a new user flair asynchronously. More...
 
List< FlairListResultFlairList (string subreddit="", int limit=25, string after="", string before="", int count=0, string show="all", bool srDetail=false)
 List of flairs. More...
 
List< FlairListResultFlairList (FlairNameListingInput flairNameListingInput, string subreddit="")
 List of flairs. More...
 
FlairSelectorResultContainer FlairSelector (string subreddit)
 Return information about a users's flair options. More...
 
void InviteToLiveThread (string thread, string permissions, string type)
 Invite another user to contribute to a live thread. Requires the manage permission for this thread. If the recipient accepts the invite, they will be granted the permissions specified. More...
 
async Task InviteToLiveThreadAsync (string thread, string permissions, string type)
 Asynchronously invite another user to contribute to a live thread. Requires the manage permission for this thread. If the recipient accepts the invite, they will be granted the permissions specified. More...
 
void InviteToLiveThread (LiveThreadsContributorInput liveThreadsContributorInput, string thread="")
 Invite another user to contribute to a live thread. Requires the manage permission for this thread. If the recipient accepts the invite, they will be granted the permissions specified. More...
 
async Task InviteToLiveThreadAsync (LiveThreadsContributorInput liveThreadsContributorInput, string thread="")
 Asynchronously invite another user to contribute to a live thread. Requires the manage permission for this thread. If the recipient accepts the invite, they will be granted the permissions specified. More...
 
void RemoveFromLiveThread (string thread)
 Revoke another user's contributorship. Requires the manage permission for this thread. More...
 
async Task RemoveFromLiveThreadAsync (string thread)
 Revoke another user's contributorship asynchronously. Requires the manage permission for this thread. More...
 
void RevokeLiveThreadInvitation (string thread)
 Revoke an outstanding contributor invite. Requires the manage permission for this thread. More...
 
async Task RevokeLiveThreadInvitationAsync (string thread)
 Revoke an outstanding contributor invite asynchronously. Requires the manage permission for this thread. More...
 
void SetLiveThreadPermissions (string thread, string permissions, string type)
 Change a contributor or contributor invite's permissions. Requires the manage permission for this thread. Note that permissions overrides the previous value completely. More...
 
async Task SetLiveThreadPermissionsAsync (string thread, string permissions, string type)
 Change a contributor or contributor invite's permissions asynchronously. Requires the manage permission for this thread. Note that permissions overrides the previous value completely. More...
 
void SetLiveThreadPermissions (LiveThreadsContributorInput liveThreadsContributorInput, string thread="")
 Change a contributor or contributor invite's permissions. Requires the manage permission for this thread. Note that permissions overrides the previous value completely. More...
 
async Task SetLiveThreadPermissionsAsync (LiveThreadsContributorInput liveThreadsContributorInput, string thread="")
 Change a contributor or contributor invite's permissions asynchronously. Requires the manage permission for this thread. Note that permissions overrides the previous value completely. More...
 
void UpdateLiveThread (string id="", string body="")
 Post an update to a live thread. Requires the update permission for this thread. More...
 
async Task UpdateLiveThreadAsync (string id="", string body="")
 Post an update to a live thread asynchronously. Requires the update permission for this thread. More...
 
void AcceptLiveThreadInvite (string id)
 Accept a pending invitation to contribute to the thread. More...
 
async Task AcceptLiveThreadInviteAsync (string id)
 Asynchronously accept a pending invitation to contribute to the thread. More...
 
List< LabeledMultiMultis (bool expandSrs=false)
 Fetch a list of public multis belonging to this user. More...
 
void AllowWikiEdit (string page, string subreddit=null)
 Allow this user to edit the specified wiki page on the specified subreddit. More...
 
async Task AllowWikiEditAsync (string page, string subreddit=null)
 Asynchronously allow this user to edit the specified wiki page on the specified subreddit. More...
 
void DenyWikiEdit (string page, string subreddit=null)
 Deny this user from editing the specified wiki page on the specified subreddit. More...
 
async Task DenyWikiEditAsync (string page, string subreddit=null)
 Asynchronously deny this user from editing the specified wiki page on the specified subreddit. More...
 
void Block ()
 Block this user. More...
 
async Task BlockAsync ()
 Block this user asynchronously. More...
 
bool MonitorPostHistory (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null, bool useCache=true)
 Monitor the user for new posts. More...
 
bool MonitorCommentHistory (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null, bool useCache=true)
 Monitor the user for new comments. More...
 
- Public Member Functions inherited from Reddit.Controllers.Internal.Monitors
 Monitors ()
 
void Wait (int ms)
 
bool IsMonitored (string key, string subKey)
 
bool IsScheduled ()
 
void WaitOrDie (string key, int timeout=60)
 
void WaitOrDie (Thread thread, int timeout=60)
 
void KillAllMonitoringThreads ()
 
- Public Member Functions inherited from Reddit.Controllers.BaseController
 BaseController ()
 Create a new Controller instance. More...
 
- Public Member Functions inherited from Reddit.Controllers.Internal.Validators
Exception BuildException (Exception ex, List< List< string >> errors)
 
dynamic Validate (dynamic obj)
 
GenericContainer Validate (GenericContainer genericContainer)
 
Generic Validate (Generic generic)
 
DynamicShortListingContainer Validate (DynamicShortListingContainer dynamicShortListingContainer)
 
DynamicShortListingData Validate (DynamicShortListingData dynamicShortListingData)
 
ImageUploadResult Validate (ImageUploadResult imageUploadResult)
 
LiveUpdateEventContainer Validate (LiveUpdateEventContainer liveUpdateEventContainer)
 
LiveThreadCreateResultContainer Validate (LiveThreadCreateResultContainer liveThreadCreateResultContainer)
 
LiveUpdateContainer Validate (LiveUpdateContainer liveUpdateContainer, int? minChildren=null)
 
SubredditSettingsContainer Validate (SubredditSettingsContainer subredditSettingsContainer)
 
SubredditSettings Validate (SubredditSettings subredditSettings)
 
List< ActionResultValidate (List< ActionResult > actionResults)
 
ActionResult Validate (ActionResult actionResult)
 
FlairListResultContainer Validate (FlairListResultContainer flairListResultContainer)
 
Flair Validate (Flair flair)
 
FlairV2 Validate (FlairV2 flairV2)
 
ModActionContainer Validate (ModActionContainer modActionContainer)
 
ModActionData Validate (ModActionData modActionData)
 
WikiPageRevisionContainer Validate (WikiPageRevisionContainer wikiPageRevisionContainer)
 
WikiPageRevisionData Validate (WikiPageRevisionData wikiPageRevisionData)
 
WikiPageSettingsContainer Validate (WikiPageSettingsContainer wikiPageSettingsContainer)
 
WikiPageSettings Validate (WikiPageSettings wikiPageSettings)
 
List< UserPrefsContainerValidate (List< UserPrefsContainer > userPrefsContainers)
 
UserPrefsContainer Validate (UserPrefsContainer userPrefsContainer)
 
UserPrefsData Validate (UserPrefsData userPrefsData)
 
PostResultShortContainer Validate (PostResultShortContainer postResultShortContainer)
 
PostResultShort Validate (PostResultShort postResultShort)
 
PostResultContainer Validate (PostResultContainer postResultContainer)
 
PostResult Validate (PostResult postResult)
 
JQueryReturn Validate (JQueryReturn jQueryReturn)
 
List<(PostContainer, CommentContainer)> Validate (List<(PostContainer, CommentContainer)> ps)
 
CommentResultContainer Validate (CommentResultContainer commentResultContainer)
 
SubredditContainer Validate (SubredditContainer subredditContainer)
 

Protected Member Functions

override Thread CreateMonitoringThread (string key, string subKey, int startDelayMs=0, int? monitoringDelayMs=null)
 Creates a new monitoring thread. More...
 
- Protected Member Functions inherited from Reddit.Controllers.Internal.Monitors
bool Monitor (string key, Thread thread, string subKey)
 
void RebuildThreads (string subKey)
 
void LaunchThreadIfNotNull (string key, Thread thread)
 
void KillThread (Thread thread)
 
void KillThread (string key)
 
void ResetThreads (List< string > oldThreads)
 
- Protected Member Functions inherited from Reddit.Controllers.Internal.Validators
void CheckErrors (List< List< string >> errors)
 
void CheckErrors (List< string > errors)
 
void CheckNull (object res, string msg="Reddit API returned null response.")
 

Properties

bool? IsFriend [get, set]
 Whether this user is friends with the authenticated user. More...
 
bool? ProfanityFilter [get, set]
 Whether this user's profanity filter is enabled. More...
 
bool? IsSuspended [get, set]
 Whether this user account has been suspended. More...
 
bool? HasGoldSubscription [get, set]
 Whether this user has a Reddit Gold subscription. More...
 
int? NumFriends [get, set]
 How many friends this user has. More...
 
bool? IsVerified [get, set]
 Whether this user account has been verified. More...
 
bool??? HasNewModmail [get, set]
 Whether this user has the new modmail. More...
 
string? Id [get, set]
 The ID36 of this user. More...
 
string? Fullname [get]
 The fullname of this user. This value is generated from the Id property. More...
 
bool? Over18 [get, set]
 Whether this user is over 18 years of age. More...
 
bool? IsGold [get, set]
 Whether this user is gold. More...
 
bool? IsMod [get, set]
 Whether this user is a mod. More...
 
bool? HasVerifiedEmail [get, set]
 Whether this user has a verified email address. More...
 
string? IconImg [get, set]
 This user's icon image URL. More...
 
bool? HasModmail [get, set]
 Whether this user has modmail. More...
 
int? LinkKarma [get, set]
 This user's total post karma. More...
 
int? InboxCount [get, set]
 The number of messages in this user's inbox. More...
 
bool? HasMail [get, set]
 Whether this user has mail. More...
 
string? Name [get, set]
 This user's username. More...
 
DateTime? Created [get, set]
 When this user was created. More...
 
int? CommentKarma [get, set]
 This user's total comment karma. More...
 
bool? HasSubscribed [get, set]
 Whether this user has subscribed. More...
 
List< CommentOrPost >? Overview [get]
 This user's Overview (posts and comments). More...
 
List< Post >? PostHistory [get]
 This user's post history. More...
 
List< Comment >? CommentHistory [get]
 This user's comment history. More...
 
List< ModeratedListItem >? ModeratedSubreddits [get]
 A list of subreddits moderated by this user. More...
 
Things.User UserData [get, set]
 Full user data from the API. More...
 
- Properties inherited from Reddit.Controllers.Internal.Monitors
IDictionary< string, HashSet< string > > MonitoringCache [get, set]
 An optional cache for preventing the same post from appearing multiple times during monitoring. See: https://github.com/sirkris/Reddit.NET/issues/117#issuecomment-759501039 More...
 
- Properties inherited from Reddit.Controllers.BaseController
Lists Lists [get, set]
 List-handling. More...
 

Events

EventHandler< PostsUpdateEventArgsPostHistoryUpdated
 Event handler for monitoring post history. More...
 
EventHandler< CommentsUpdateEventArgsCommentHistoryUpdated
 Event handler for monitoring comment history. More...
 

Additional Inherited Members

- Public Attributes inherited from Reddit.Controllers.Internal.Monitors
int MonitoringWaitDelayMS = 1500
 
- Protected Attributes inherited from Reddit.Controllers.Internal.Monitors
volatile bool Terminate = false
 

Detailed Description

Controller class for users.

Constructor & Destructor Documentation

◆ User() [1/4]

Reddit.Controllers.User.User ( Dispatch  dispatch,
Things.User  user 
)

Create a new user controller instance from API return data.

Parameters
dispatch
user

◆ User() [2/4]

Reddit.Controllers.User.User ( Dispatch  dispatch,
User  user 
)

Copy another user controller instance onto this one.

Parameters
dispatch
user

◆ User() [3/4]

Reddit.Controllers.User.User ( Dispatch  dispatch,
string  name,
string  id = null,
bool  isFriend = false,
bool  profanityFilter = false,
bool  isSuspended = false,
bool  hasGoldSubscription = false,
int  numFriends = 0,
bool  IsVerified = false,
bool  hasNewModmail = false,
bool  over18 = false,
bool  isGold = false,
bool  isMod = false,
bool  hasVerifiedEmail = false,
string  iconImg = null,
bool  hasModmail = false,
int  linkKarma = 0,
int  inboxCount = 0,
bool  hasMail = false,
DateTime  created = default(DateTime),
int  commentKarma = 0,
bool  hasSubscribed = false 
)

Create a new user controller instance, populated manually.

Parameters
dispatch
nameA valid Reddit username
id
isFriend
profanityFilter
isSuspended
hasGoldSubscription
numFriends
IsVerified
hasNewModmail
over18
isGold
isMod
hasVerifiedEmail
iconImg
hasModmail
linkKarma
inboxCount
hasMail
created
commentKarma
hasSubscribed

◆ User() [4/4]

Reddit.Controllers.User.User ( Dispatch  dispatch)

Create an empty user controller instance.

Parameters
dispatch

Member Function Documentation

◆ About()

User Reddit.Controllers.User.About ( )

Return information about the user, including karma and gold status.

Returns
A user listing.

◆ AcceptLiveThreadInvite()

void Reddit.Controllers.User.AcceptLiveThreadInvite ( string  id)

Accept a pending invitation to contribute to the thread.

Parameters
idThe ID of the live thread

◆ AcceptLiveThreadInviteAsync()

async Task Reddit.Controllers.User.AcceptLiveThreadInviteAsync ( string  id)

Asynchronously accept a pending invitation to contribute to the thread.

Parameters
idThe ID of the live thread

◆ AddRelationship() [1/2]

void Reddit.Controllers.User.AddRelationship ( string  banContext,
string  banMessage,
string  banReason,
string  container,
int?  duration,
string  permissions,
string  type,
string  subreddit = null 
)

Create a relationship between a user and another user or subreddit. OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_unfriend

Parameters
banContextfullname of a thing
banMessageraw markdown text
banReasona string no longer than 100 characters
container
durationan integer between 1 and 999, or null to specify permanent duration
permissions
typeone of (friend, moderator, moderator_invite, contributor, banned, muted, wikibanned, wikicontributor)
subredditA subreddit

◆ AddRelationship() [2/2]

void Reddit.Controllers.User.AddRelationship ( UsersFriendInput  usersFriendInput,
string  subreddit = null 
)

Create a relationship between a user and another user or subreddit. OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_unfriend

Parameters
usersFriendInputA valid UsersFriendInput instance
subredditA subreddit

◆ AddRelationshipAsync() [1/2]

async Task Reddit.Controllers.User.AddRelationshipAsync ( string  banContext,
string  banMessage,
string  banReason,
string  container,
int?  duration,
string  permissions,
string  type,
string  subreddit = null 
)

Asynchronously create a relationship between a user and another user or subreddit. OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_unfriend

Parameters
banContextfullname of a thing
banMessageraw markdown text
banReasona string no longer than 100 characters
container
durationan integer between 1 and 999, or null to specify permanent duration
permissions
typeone of (friend, moderator, moderator_invite, contributor, banned, muted, wikibanned, wikicontributor)
subredditA subreddit

◆ AddRelationshipAsync() [2/2]

async Task Reddit.Controllers.User.AddRelationshipAsync ( UsersFriendInput  usersFriendInput,
string  subreddit = null 
)

Asynchronously create a relationship between a user and another user or subreddit. OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_unfriend

Parameters
usersFriendInputA valid UsersFriendInput instance
subredditA subreddit

◆ AllowWikiEdit()

void Reddit.Controllers.User.AllowWikiEdit ( string  page,
string  subreddit = null 
)

Allow this user to edit the specified wiki page on the specified subreddit.

Parameters
pagethe name of an existing wiki page
subredditThe subreddit where the wiki lives

◆ AllowWikiEditAsync()

async Task Reddit.Controllers.User.AllowWikiEditAsync ( string  page,
string  subreddit = null 
)

Asynchronously allow this user to edit the specified wiki page on the specified subreddit.

Parameters
pagethe name of an existing wiki page
subredditThe subreddit where the wiki lives

◆ Block()

void Reddit.Controllers.User.Block ( )

Block this user.

◆ BlockAsync()

async Task Reddit.Controllers.User.BlockAsync ( )

Block this user asynchronously.

◆ CreateFlair() [1/2]

void Reddit.Controllers.User.CreateFlair ( FlairCreateInput  flairCreateInput,
string  subreddit = null 
)

Create a new user flair.

Parameters
flairCreateInputA valid FlairCreateInput instance
subredditThe subreddit with the flairs

◆ CreateFlair() [2/2]

void Reddit.Controllers.User.CreateFlair ( string  subreddit,
string  text,
string  cssClass = "" 
)

Create a new user flair.

Parameters
subredditThe subreddit with the flairs
textThe flair text
cssClassa valid subreddit image name

◆ CreateFlairAsync() [1/2]

async Task Reddit.Controllers.User.CreateFlairAsync ( FlairCreateInput  flairCreateInput,
string  subreddit = null 
)

Create a new user flair asynchronously.

Parameters
flairCreateInputA valid FlairCreateInput instance
subredditThe subreddit with the flairs

◆ CreateFlairAsync() [2/2]

async Task Reddit.Controllers.User.CreateFlairAsync ( string  subreddit,
string  text,
string  cssClass = "" 
)

Create a new user flair asynchronously.

Parameters
subredditThe subreddit with the flairs
textThe flair text
cssClassa valid subreddit image name

◆ CreateMonitoringThread()

override Thread Reddit.Controllers.User.CreateMonitoringThread ( string  key,
string  subKey,
int  startDelayMs = 0,
int?  monitoringDelayMs = null 
)
protectedvirtual

Creates a new monitoring thread.

Parameters
keyMonitoring key
subKeyMonitoring subKey
startDelayMsHow long to wait before starting the thread in milliseconds (default: 0)
monitoringDelayMsHow long to wait between monitoring queries; pass null to leave it auto-managed (default: null)
Returns
The newly-created monitoring thread.

Implements Reddit.Controllers.Internal.Monitors.

◆ DeleteFlair()

void Reddit.Controllers.User.DeleteFlair ( string  subreddit)

Delete flair.

Parameters
subredditThe subreddit with the flairs

◆ DeleteFlairAsync()

async Task Reddit.Controllers.User.DeleteFlairAsync ( string  subreddit)

Delete flair asynchronously.

Parameters
subredditThe subreddit with the flairs

◆ DenyWikiEdit()

void Reddit.Controllers.User.DenyWikiEdit ( string  page,
string  subreddit = null 
)

Deny this user from editing the specified wiki page on the specified subreddit.

Parameters
pagethe name of an existing wiki page
subredditThe subreddit where the wiki lives

◆ DenyWikiEditAsync()

async Task Reddit.Controllers.User.DenyWikiEditAsync ( string  page,
string  subreddit = null 
)

Asynchronously deny this user from editing the specified wiki page on the specified subreddit.

Parameters
pagethe name of an existing wiki page
subredditThe subreddit where the wiki lives

◆ FlairList() [1/2]

List<FlairListResult> Reddit.Controllers.User.FlairList ( FlairNameListingInput  flairNameListingInput,
string  subreddit = "" 
)

List of flairs.

Parameters
flairNameListingInputA valid FlairNameListingInput instance
subredditThe subreddit with the flairs
Returns
Flair list results.

◆ FlairList() [2/2]

List<FlairListResult> Reddit.Controllers.User.FlairList ( string  subreddit = "",
int  limit = 25,
string  after = "",
string  before = "",
int  count = 0,
string  show = "all",
bool  srDetail = false 
)

List of flairs.

Parameters
subredditThe subreddit with the flairs
limitthe maximum number of items desired (default: 25, maximum: 1000)
afterfullname of a thing
beforefullname of a thing
counta positive integer (default: 0)
show(optional) the string all
srDetail(optional) expand subreddits
Returns
Flair list results.

◆ FlairSelector()

FlairSelectorResultContainer Reddit.Controllers.User.FlairSelector ( string  subreddit)

Return information about a users's flair options.

Parameters
subredditThe subreddit with the flairs
Returns
Flair results.

◆ GetCommentHistory() [1/2]

List<Comment> Reddit.Controllers.User.GetCommentHistory ( int  context = 3,
string  t = "all",
int  limit = 25,
string  sort = "",
string  after = "",
string  before = "",
bool  includeCategories = false,
string  show = "all",
bool  srDetail = false,
int  count = 0 
)

Retrieve the user's comment history.

Parameters
contextan integer between 2 and 10
tone of (hour, day, week, month, year, all)
limitthe maximum number of items desired (default: 25, maximum: 100)
sortone of (hot, new, top, controversial)
afterfullname of a thing
beforefullname of a thing
includeCategoriesboolean value
show(optional) the string all
srDetail(optional) expand subreddits
counta positive integer (default: 0)
Returns
A list of comments.

◆ GetCommentHistory() [2/2]

List<Comment> Reddit.Controllers.User.GetCommentHistory ( UsersHistoryInput  usersHistoryInput)

Retrieve the user's comment history.

Parameters
usersHistoryInputA valid UsersHistoryInput instance
Returns
A list of comments.

◆ GetModeratedSubreddits() [1/2]

List<ModeratedListItem> Reddit.Controllers.User.GetModeratedSubreddits ( int  limit = 25,
string  after = "",
string  before = "",
bool  includeCategories = false,
string  show = "all",
bool  srDetail = false,
int  count = 0 
)

Retrieve a list of subreddits that the user moderates.

Parameters
limitthe maximum number of items desired (default: 25, maximum: 100)
afterfullname of a thing
beforefullname of a thing
includeCategoriesboolean value
show(optional) the string all
srDetail(optional) expand subreddits
counta positive integer (default: 0)
Returns
A list of moderated subreddits.

◆ GetModeratedSubreddits() [2/2]

List<ModeratedListItem> Reddit.Controllers.User.GetModeratedSubreddits ( UsersHistoryInput  usersHistoryInput)

Retrieve a list of subreddits that the user moderates.

Parameters
usersHistoryInputA valid UsersHistoryInput instance
Returns
A list of moderated subreddits.

◆ GetOverview() [1/2]

List<CommentOrPost> Reddit.Controllers.User.GetOverview ( int  context = 3,
string  t = "all",
int  limit = 25,
string  sort = "",
string  after = "",
string  before = "",
bool  includeCategories = false,
string  show = "all",
bool  srDetail = false,
int  count = 0 
)

Retrieve the user's overview.

Parameters
contextan integer between 2 and 10
tone of (hour, day, week, month, year, all)
limitthe maximum number of items desired (default: 25, maximum: 100)
sortone of (hot, new, newForced, top, controversial)
afterfullname of a thing
beforefullname of a thing
includeCategoriesboolean value
show(optional) the string all
srDetail(optional) expand subreddits
counta positive integer (default: 0)
Returns
A list of posts.

◆ GetOverview() [2/2]

List<CommentOrPost> Reddit.Controllers.User.GetOverview ( UsersHistoryInput  usersHistoryInput)

Retrieve the user's overview.

Parameters
usersHistoryInputA valid UsersHistoryInput instance
Returns
A list of comments and/or posts.

◆ GetPostHistory() [1/2]

List<Post> Reddit.Controllers.User.GetPostHistory ( string  where = "submitted",
int  context = 3,
string  t = "all",
int  limit = 25,
string  sort = "",
string  after = "",
string  before = "",
bool  includeCategories = false,
string  show = "all",
bool  srDetail = false,
int  count = 0 
)

Retrieve the user's post history.

Parameters
whereOne of (overview, submitted, upvotes, downvoted, hidden, saved, gilded)
contextan integer between 2 and 10
tone of (hour, day, week, month, year, all)
limitthe maximum number of items desired (default: 25, maximum: 100)
sortone of (hot, new, newForced, top, controversial)
afterfullname of a thing
beforefullname of a thing
includeCategoriesboolean value
show(optional) the string all
srDetail(optional) expand subreddits
counta positive integer (default: 0)
Returns
A list of posts.

◆ GetPostHistory() [2/2]

List<Post> Reddit.Controllers.User.GetPostHistory ( UsersHistoryInput  usersHistoryInput,
string  where = "submitted" 
)

Retrieve the user's post history.

Parameters
usersHistoryInputA valid UsersHistoryInput instance
whereOne of (overview, submitted, upvotes, downvoted, hidden, saved, gilded)
Returns
A list of posts.

◆ InviteToLiveThread() [1/2]

void Reddit.Controllers.User.InviteToLiveThread ( LiveThreadsContributorInput  liveThreadsContributorInput,
string  thread = "" 
)

Invite another user to contribute to a live thread. Requires the manage permission for this thread. If the recipient accepts the invite, they will be granted the permissions specified.

Parameters
liveThreadsContributorInputA valid LiveThreadsContributorInput instance
threadid

◆ InviteToLiveThread() [2/2]

void Reddit.Controllers.User.InviteToLiveThread ( string  thread,
string  permissions,
string  type 
)

Invite another user to contribute to a live thread. Requires the manage permission for this thread. If the recipient accepts the invite, they will be granted the permissions specified.

Parameters
threadid
permissionspermission description e.g. +update,+edit,-manage
typeone of (liveupdate_contributor_invite, liveupdate_contributor)

◆ InviteToLiveThreadAsync() [1/2]

async Task Reddit.Controllers.User.InviteToLiveThreadAsync ( LiveThreadsContributorInput  liveThreadsContributorInput,
string  thread = "" 
)

Asynchronously invite another user to contribute to a live thread. Requires the manage permission for this thread. If the recipient accepts the invite, they will be granted the permissions specified.

Parameters
liveThreadsContributorInputA valid LiveThreadsContributorInput instance
threadid

◆ InviteToLiveThreadAsync() [2/2]

async Task Reddit.Controllers.User.InviteToLiveThreadAsync ( string  thread,
string  permissions,
string  type 
)

Asynchronously invite another user to contribute to a live thread. Requires the manage permission for this thread. If the recipient accepts the invite, they will be granted the permissions specified.

Parameters
threadid
permissionspermission description e.g. +update,+edit,-manage
typeone of (liveupdate_contributor_invite, liveupdate_contributor)

◆ MonitorCommentHistory()

bool Reddit.Controllers.User.MonitorCommentHistory ( int?  monitoringDelayMs = null,
int?  monitoringBaseDelayMs = null,
List< MonitoringSchedule schedule = null,
bool?  breakOnFailure = null,
DateTime?  monitoringExpiration = null,
bool  useCache = true 
)

Monitor the user for new comments.

Parameters
monitoringDelayMsThe number of milliseconds between each monitoring query; leave null to auto-manage
monitoringBaseDelayMsThe number of milliseconds between each monitoring query PER THREAD (default: 1500)
scheduleA list of one or more timeframes during which monitoring of this object will occur (default: 24/7)
breakOnFailureIf true, an exception will be thrown when a monitoring query fails; leave null to keep current setting (default: false)
monitoringExpirationIf set, monitoring will automatically stop after the specified DateTime is reached
useCacheWhether to cache the IDs of the monitoring results to prevent duplicate fires (default: true)
Returns
True if this action turned monitoring on, false if this action turned it off.

◆ MonitorPostHistory()

bool Reddit.Controllers.User.MonitorPostHistory ( int?  monitoringDelayMs = null,
int?  monitoringBaseDelayMs = null,
List< MonitoringSchedule schedule = null,
bool?  breakOnFailure = null,
DateTime?  monitoringExpiration = null,
bool  useCache = true 
)

Monitor the user for new posts.

Parameters
monitoringDelayMsThe number of milliseconds between each monitoring query; leave null to auto-manage
monitoringBaseDelayMsThe number of milliseconds between each monitoring query PER THREAD (default: 1500)
scheduleA list of one or more timeframes during which monitoring of this object will occur (default: 24/7)
breakOnFailureIf true, an exception will be thrown when a monitoring query fails; leave null to keep current setting (default: false)
monitoringExpirationIf set, monitoring will automatically stop after the specified DateTime is reached
useCacheWhether to cache the IDs of the monitoring results to prevent duplicate fires (default: true)
Returns
True if this action turned monitoring on, false if this action turned it off.

◆ Multis()

List<LabeledMulti> Reddit.Controllers.User.Multis ( bool  expandSrs = false)

Fetch a list of public multis belonging to this user.

Parameters
expandSrsboolean value
Returns
A list of multis.

◆ RemoveFromLiveThread()

void Reddit.Controllers.User.RemoveFromLiveThread ( string  thread)

Revoke another user's contributorship. Requires the manage permission for this thread.

Parameters
threadid

◆ RemoveFromLiveThreadAsync()

async Task Reddit.Controllers.User.RemoveFromLiveThreadAsync ( string  thread)

Revoke another user's contributorship asynchronously. Requires the manage permission for this thread.

Parameters
threadid

◆ RemoveRelationship() [1/2]

void Reddit.Controllers.User.RemoveRelationship ( string  type,
string  container = "",
string  subreddit = null 
)

Remove a relationship between a user and another user or subreddit. If type is friend or enemy, 'container' MUST be the current user's fullname; for other types, the subreddit must be set via URL (e.g., /r/funny/api/unfriend). OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_friend

Parameters
typeone of (friend, enemy, moderator, moderator_invite, contributor, banned, muted, wikibanned, wikicontributor)
container
subredditA subreddit

◆ RemoveRelationship() [2/2]

void Reddit.Controllers.User.RemoveRelationship ( UsersUnfriendInput  usersUnfriendInput,
string  subreddit = null 
)

Remove a relationship between a user and another user or subreddit. If type is friend or enemy, 'container' MUST be the current user's fullname; for other types, the subreddit must be set via URL (e.g., /r/funny/api/unfriend). OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_friend

Parameters
usersUnfriendInputA valid UsersUnfriendInput instance
subredditA subreddit

◆ RemoveRelationshipAsync() [1/2]

async Task Reddit.Controllers.User.RemoveRelationshipAsync ( string  type,
string  container = "",
string  subreddit = null 
)

Asynchronously remove a relationship between a user and another user or subreddit. OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_friend

Parameters
typeone of (friend, enemy, moderator, moderator_invite, contributor, banned, muted, wikibanned, wikicontributor)
container
subredditA subreddit

◆ RemoveRelationshipAsync() [2/2]

async Task Reddit.Controllers.User.RemoveRelationshipAsync ( UsersUnfriendInput  usersUnfriendInput,
string  subreddit = null 
)

Asynchronously remove a relationship between a user and another user or subreddit. OAuth2 use requires appropriate scope based on the 'type' of the relationship: moderator: Use "moderator_invite" moderator_invite: modothers contributor: modcontributors banned: modcontributors muted: modcontributors wikibanned: modcontributors and modwiki wikicontributor: modcontributors and modwiki friend: Use /api/v1/me/friends/{username} enemy: Use /api/block Complement to POST_friend

Parameters
usersUnfriendInputA valid UsersUnfriendInput instance
subredditA subreddit

◆ Report()

void Reddit.Controllers.User.Report ( string  reason,
string  details = "{}" 
)

Report a user. Reporting a user brings it to the attention of a Reddit admin.

Parameters
detailsJSON data
reasona string no longer than 100 characters

◆ ReportAsync()

async Task Reddit.Controllers.User.ReportAsync ( string  reason,
string  details = "{}" 
)

Report a user asynchronously. Reporting a user brings it to the attention of a Reddit admin.

Parameters
detailsJSON data
reasona string no longer than 100 characters

◆ RevokeLiveThreadInvitation()

void Reddit.Controllers.User.RevokeLiveThreadInvitation ( string  thread)

Revoke an outstanding contributor invite. Requires the manage permission for this thread.

Parameters
threadid

◆ RevokeLiveThreadInvitationAsync()

async Task Reddit.Controllers.User.RevokeLiveThreadInvitationAsync ( string  thread)

Revoke an outstanding contributor invite asynchronously. Requires the manage permission for this thread.

Parameters
threadid

◆ SetLiveThreadPermissions() [1/2]

void Reddit.Controllers.User.SetLiveThreadPermissions ( LiveThreadsContributorInput  liveThreadsContributorInput,
string  thread = "" 
)

Change a contributor or contributor invite's permissions. Requires the manage permission for this thread. Note that permissions overrides the previous value completely.

Parameters
liveThreadsContributorInputA valid LiveThreadsContributorInput instance
threadid

◆ SetLiveThreadPermissions() [2/2]

void Reddit.Controllers.User.SetLiveThreadPermissions ( string  thread,
string  permissions,
string  type 
)

Change a contributor or contributor invite's permissions. Requires the manage permission for this thread. Note that permissions overrides the previous value completely.

Parameters
threadid
permissionspermission description e.g. +update,+edit,-manage
typeone of (liveupdate_contributor_invite, liveupdate_contributor)

◆ SetLiveThreadPermissionsAsync() [1/2]

async Task Reddit.Controllers.User.SetLiveThreadPermissionsAsync ( LiveThreadsContributorInput  liveThreadsContributorInput,
string  thread = "" 
)

Change a contributor or contributor invite's permissions asynchronously. Requires the manage permission for this thread. Note that permissions overrides the previous value completely.

Parameters
liveThreadsContributorInputA valid LiveThreadsContributorInput instance
threadid

◆ SetLiveThreadPermissionsAsync() [2/2]

async Task Reddit.Controllers.User.SetLiveThreadPermissionsAsync ( string  thread,
string  permissions,
string  type 
)

Change a contributor or contributor invite's permissions asynchronously. Requires the manage permission for this thread. Note that permissions overrides the previous value completely.

Parameters
threadid
permissionspermission description e.g. +update,+edit,-manage
typeone of (liveupdate_contributor_invite, liveupdate_contributor)

◆ SetPermissions() [1/2]

void Reddit.Controllers.User.SetPermissions ( string  subreddit,
string  permissions,
string  type 
)

Set permissions.

Parameters
subredditthe name of an existing subreddit
permissionsA string representing the permissions being set (e.g. "+wiki")
typeA string representing the type (e.g. "moderator_invite")

◆ SetPermissions() [2/2]

void Reddit.Controllers.User.SetPermissions ( UsersSetPermissionsInput  usersSetPermissionsInput,
string  subreddit = null 
)

Set permissions.

Parameters
usersSetPermissionsInputA valid UsersSetPermissionsInput instance
subredditthe name of an existing subreddit

◆ SetPermissionsAsync() [1/2]

async Task Reddit.Controllers.User.SetPermissionsAsync ( string  subreddit,
string  permissions,
string  type 
)

Set permissions asynchronously.

Parameters
subredditthe name of an existing subreddit
permissionsA string representing the permissions being set (e.g. "+wiki")
typeA string representing the type (e.g. "moderator_invite")

◆ SetPermissionsAsync() [2/2]

async Task Reddit.Controllers.User.SetPermissionsAsync ( UsersSetPermissionsInput  usersSetPermissionsInput,
string  subreddit = null 
)

Set permissions asynchronously.

Parameters
usersSetPermissionsInputA valid UsersSetPermissionsInput instance
subredditthe name of an existing subreddit

◆ Trophies()

List<Award> Reddit.Controllers.User.Trophies ( )

Return a list of trophies for the given user.

Returns
A list of trophies.

◆ UpdateLiveThread()

void Reddit.Controllers.User.UpdateLiveThread ( string  id = "",
string  body = "" 
)

Post an update to a live thread. Requires the update permission for this thread.

Parameters
idThe ID of the live thread
bodyraw markdown text

◆ UpdateLiveThreadAsync()

async Task Reddit.Controllers.User.UpdateLiveThreadAsync ( string  id = "",
string  body = "" 
)

Post an update to a live thread asynchronously. Requires the update permission for this thread.

Parameters
idThe ID of the live thread
bodyraw markdown text

◆ UsernameAvailable()

bool? Reddit.Controllers.User.UsernameAvailable ( )

Check whether this instance's username is available for registration.

Returns
Boolean or null if error (i.e. invalid username).

Property Documentation

◆ CommentHistory

List<Comment>? Reddit.Controllers.User.CommentHistory
get

This user's comment history.

◆ CommentKarma

int? Reddit.Controllers.User.CommentKarma
getset

This user's total comment karma.

◆ Created

DateTime? Reddit.Controllers.User.Created
getset

When this user was created.

◆ Fullname

string? Reddit.Controllers.User.Fullname
get

The fullname of this user. This value is generated from the Id property.

◆ HasGoldSubscription

bool? Reddit.Controllers.User.HasGoldSubscription
getset

Whether this user has a Reddit Gold subscription.

◆ HasMail

bool? Reddit.Controllers.User.HasMail
getset

Whether this user has mail.

◆ HasModmail

bool? Reddit.Controllers.User.HasModmail
getset

Whether this user has modmail.

◆ HasNewModmail

bool??? Reddit.Controllers.User.HasNewModmail
getset

Whether this user has the new modmail.

◆ HasSubscribed

bool? Reddit.Controllers.User.HasSubscribed
getset

Whether this user has subscribed.

◆ HasVerifiedEmail

bool? Reddit.Controllers.User.HasVerifiedEmail
getset

Whether this user has a verified email address.

◆ IconImg

string? Reddit.Controllers.User.IconImg
getset

This user's icon image URL.

◆ Id

string? Reddit.Controllers.User.Id
getset

The ID36 of this user.

◆ InboxCount

int? Reddit.Controllers.User.InboxCount
getset

The number of messages in this user's inbox.

◆ IsFriend

bool? Reddit.Controllers.User.IsFriend
getset

Whether this user is friends with the authenticated user.

◆ IsGold

bool? Reddit.Controllers.User.IsGold
getset

Whether this user is gold.

◆ IsMod

bool? Reddit.Controllers.User.IsMod
getset

Whether this user is a mod.

◆ IsSuspended

bool? Reddit.Controllers.User.IsSuspended
getset

Whether this user account has been suspended.

◆ IsVerified

bool? Reddit.Controllers.User.IsVerified
getset

Whether this user account has been verified.

◆ LinkKarma

int? Reddit.Controllers.User.LinkKarma
getset

This user's total post karma.

◆ ModeratedSubreddits

List<ModeratedListItem>? Reddit.Controllers.User.ModeratedSubreddits
get

A list of subreddits moderated by this user.

◆ Name

string? Reddit.Controllers.User.Name
getset

This user's username.

◆ NumFriends

int? Reddit.Controllers.User.NumFriends
getset

How many friends this user has.

◆ Over18

bool? Reddit.Controllers.User.Over18
getset

Whether this user is over 18 years of age.

◆ Overview

List<CommentOrPost>? Reddit.Controllers.User.Overview
get

This user's Overview (posts and comments).

◆ PostHistory

List<Post>? Reddit.Controllers.User.PostHistory
get

This user's post history.

◆ ProfanityFilter

bool? Reddit.Controllers.User.ProfanityFilter
getset

Whether this user's profanity filter is enabled.

◆ UserData

Things.User Reddit.Controllers.User.UserData
getset

Full user data from the API.

Event Documentation

◆ CommentHistoryUpdated

EventHandler<CommentsUpdateEventArgs> Reddit.Controllers.User.CommentHistoryUpdated

Event handler for monitoring comment history.

◆ PostHistoryUpdated

EventHandler<PostsUpdateEventArgs> Reddit.Controllers.User.PostHistoryUpdated

Event handler for monitoring post history.


The documentation for this class was generated from the following file: