| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
MatrixBot.Bot.EventsListener.Handlers.ReactToUsers
Synopsis
- reactToUsers :: (BotM r m, HasBotJobsWriter r) => [BotConfigReactToUsers] -> RoomId -> Mxid -> EventId -> m ()
Documentation
Arguments
| :: (BotM r m, HasBotJobsWriter r) | |
| => [BotConfigReactToUsers] | Bot configuration for “react to users” feature |
| -> RoomId | Matrix room where there event was sent to |
| -> Mxid | User ID (who sent the event) |
| -> EventId | Unique identifier of the event |
| -> m () |
Process m.room.message event and see if there is a need to leave a reaction for it.