matrix-bot-0.2.0: Matrix multipurpose bot
Safe HaskellNone
LanguageHaskell2010

MatrixBot.Bot.SmokeTest

Synopsis

Documentation

startupSmokeTest :: BotM r m => MatrixApiClient -> AuthenticatedRequest (AuthProtect "access-token") -> m () Source #

A smoke test to run to check Matrix API can be called using current authentication.

Intended to be run at startup, before doing anything else.