Module

Wechaty.Message

Package
purescript-wechaty
Repository
Lupino/purescript-wechaty

#say Source

say :: forall eff m a. MonadAff (wechaty :: WECHATY | eff) m => a -> MessageT m Unit

#sayTo Source

sayTo :: forall eff m a. MonadAff (wechaty :: WECHATY | eff) m => Contact -> a -> MessageT m Unit

#content Source

content :: forall eff m. MonadEff (wechaty :: WECHATY | eff) m => MessageT m String

#from Source

from :: forall eff m. MonadEff (wechaty :: WECHATY | eff) m => MessageT m Contact

#self Source

self :: forall eff m. MonadEff (wechaty :: WECHATY | eff) m => MessageT m Boolean

#room Source

room :: forall eff m. MonadEff (wechaty :: WECHATY | eff) m => MessageT m (Maybe Room)

#handleContact Source

handleContact :: forall eff m. MonadEff (wechaty :: WECHATY | eff) m => (String -> ContactT m Unit) -> MessageT m Unit

#handleRoom Source

handleRoom :: forall eff m. MonadAff (wechaty :: WECHATY | eff) m => Room -> Boolean -> (Contact -> Boolean -> String -> RoomT m Unit) -> MessageT m Unit

#Message Source

data Message :: Type

#MessageT Source

#runMessageT Source

runMessageT :: forall m a. Message -> MessageT m a -> m a

Re-exports from Wechaty.Types

#WECHATY Source

data WECHATY :: Effect