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

MatrixBot.Bot.EventsListener.Handlers.ReplyToMedia

Synopsis

Documentation

replyToMedia Source #

Arguments

:: (BotM r m, HasBotJobsWriter r) 
=> [BotConfigReplyToMedia]

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

-> MRoomMessageClientEventContent

Client content for the event

-> m () 

Process m.room.message event and see if there is a need to reply to an event with a message template.