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

MatrixBot.Bot.Jobs.Handlers.MainHandler

Description

Main handling entrypoint, other handlers are brached from here.

Synopsis

Documentation

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

Bot Jobs handler (infinite loop of reading new jobs and performing them)