| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Simplex.Chat
Documentation
createChatDatabase :: ChatDbOpts -> MigrationConfig -> IO (Either MigrationError ChatDatabase) Source #
newChatController :: ChatDatabase -> Maybe User -> ChatConfig -> ChatOpts -> Bool -> IO ChatController Source #
chooseRandomServers :: PresetServers -> IO (NonEmpty PresetOperator) Source #
toJustOrError :: String -> Maybe a -> IO a Source #