Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains user-related actions, like finding friends or retrieving a user's comments or information.
- getUserInfo :: Monad m => Username -> RedditT m User
- aboutMe :: Monad m => RedditT m User
- getUserComments :: Monad m => Username -> RedditT m CommentListing
- getUserComments' :: Monad m => Options CommentID -> Username -> RedditT m CommentListing
- getUserPosts :: Monad m => Username -> RedditT m PostListing
- getUserPosts' :: Monad m => Options PostID -> Username -> RedditT m PostListing
- isUsernameAvailable :: Monad m => Username -> RedditT m Bool
- getBlockedUsers :: Monad m => RedditT m [Relationship]
- getFriends :: Monad m => RedditT m [Relationship]
- lookupUserFlair :: Monad m => SubredditName -> Username -> RedditT m Flair
- setUserFlair :: Monad m => SubredditName -> Username -> Text -> Text -> RedditT m ()
Documentation
getUserInfo :: Monad m => Username -> RedditT m User Source #
Get the information Reddit exposes on user behind the specified username
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.