Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains user-related actions, like finding friends or retrieving a user's comments or information.
- getUserInfo :: MonadIO m => Username -> RedditT m User
- aboutMe :: MonadIO m => RedditT m User
- getUserComments :: MonadIO m => Username -> RedditT m CommentListing
- getUserComments' :: MonadIO m => Options CommentID -> Username -> RedditT m CommentListing
- isUsernameAvailable :: MonadIO m => Username -> RedditT m Bool
- getBlockedUsers :: MonadIO m => RedditT m [Relationship]
- getFriends :: MonadIO m => RedditT m [Relationship]
- lookupUserFlair :: MonadIO m => SubredditName -> Username -> RedditT m Flair
- setUserFlair :: MonadIO m => SubredditName -> Username -> Text -> Text -> RedditT m ()
Documentation
getUserInfo :: MonadIO m => Username -> RedditT m User Source
Get the information Reddit exposes on user behind the specified username
getUserComments :: MonadIO m => Username -> RedditT m CommentListing Source
Get the listing of comments authored by the specified user.
getUserComments' :: MonadIO m => Options CommentID -> Username -> RedditT m CommentListing Source
Get the listing of comments authored by the specified user, with Options.
isUsernameAvailable :: MonadIO m => Username -> RedditT m Bool Source
Check whether the specified username is still available or has been taken.
getBlockedUsers :: MonadIO m => RedditT m [Relationship] Source
Get users blocked by the currently-logged-in user.
getFriends :: MonadIO m => RedditT m [Relationship] Source
Get friends of the currently-logged-in user.
lookupUserFlair :: MonadIO 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 :: MonadIO m => SubredditName -> Username -> Text -> Text -> RedditT m () Source
Set a user's flair on the specified subreddit. Requires moderator privileges on the specified subreddit.