Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains subreddit wiki-related actions.
Synopsis
- getWikiPage :: Monad m => SubredditName -> Text -> RedditT m WikiPage
- editWikiPage :: Monad m => SubredditName -> Text -> Text -> Text -> RedditT m ()
Documentation
getWikiPage :: Monad m => SubredditName -> Text -> RedditT m WikiPage Source #
Get the specified wiki page on a particular subreddit. Requires permission to view the specified wiki page.
:: Monad m | |
=> SubredditName | Subreddit whose wiki to modify |
-> Text | The name of the page you're editing |
-> Text | The new markdown content of the page you're editing |
-> Text | The reason for the edit |
-> RedditT m () |
Edit the specified wiki page on a particular subreddit. Requires permission to edit the specified wiki page.