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

MatrixBot.Bot.Jobs.Handlers.SendReaction

Synopsis

Documentation

sendReaction Source #

Arguments

:: (MonadIO m, MonadFail m, MonadCatch m, MonadLogger m) 
=> MatrixApiClient 
-> AuthenticatedRequest (AuthProtect "access-token") 
-> TransactionId 
-> RoomId 
-> EventId 
-> Text 
-> m (Maybe EventResponse)

Nothing in case of “same reaction twice error” (idempotency)

Leave a reaction for a Matrix room event