reddit-0.2.3.0: Library for interfacing with Reddit's API

Safe HaskellNone
LanguageHaskell2010

Reddit.Actions.User

Description

Contains user-related actions, like finding friends or retrieving a user's comments or information.

Synopsis

Documentation

getUserInfo :: Monad m => Username -> RedditT m User Source #

Get the information Reddit exposes on user behind the specified username

aboutMe :: Monad m => RedditT m User Source #

Get information of the currently-logged-in user.

getUserComments :: Monad m => Username -> RedditT m CommentListing Source #

Get the listing of comments authored by the specified user.

getUserComments' :: Monad m => Options CommentID -> Username -> RedditT m CommentListing Source #

Get the listing of comments authored by the specified user, with Options.

getUserPosts :: Monad m => Username -> RedditT m PostListing Source #

Get the listing of posts authored by the specified user.

getUserPosts' :: Monad m => Options PostID -> Username -> RedditT m PostListing Source #

Get the listing of posts authored by the specified user, with Options.

isUsernameAvailable :: Monad m => Username -> RedditT m Bool Source #

Check whether the specified username is still available or has been taken.

getBlockedUsers :: Monad m => RedditT m [Relationship] Source #

Get users blocked by the currently-logged-in user.

getFriends :: Monad m => RedditT m [Relationship] Source #

Get friends of the currently-logged-in user.

lookupUserFlair :: Monad m => SubredditName -> Username -> RedditT m Flair Source #

Check if a user has chosen (or been assign) user flair on a particular subreddit. Requires moderator privileges on the specified subreddit.

setUserFlair :: Monad m => SubredditName -> Username -> Text -> Text -> RedditT m () Source #

Set a user's flair on the specified subreddit. Requires moderator privileges on the specified subreddit.