| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Simplex.Chat.Core
Documentation
simplexChatCore :: ChatConfig -> ChatOpts -> (User -> ChatController -> IO ()) -> IO () Source #
runSimplexChat :: ChatOpts -> User -> ChatController -> (User -> ChatController -> IO ()) -> IO () Source #
sendChatCmdStr :: ChatController -> String -> IO (Either ChatError ChatResponse) Source #
sendChatCmd :: ChatController -> ChatCommand -> IO (Either ChatError ChatResponse) Source #
printResponseEvent :: ChatResponseEvent r => (Maybe RemoteHostId, Maybe User) -> ChatConfig -> Either ChatError r -> IO () Source #