Module

Wechaty.Message

Package
purescript-wechaty
Repository
Lupino/purescript-wechaty

#say Source

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

#sayTo Source

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

#content Source

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

#from Source

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

#self Source

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

#room Source

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

#handleContact Source

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

#handleRoom Source

handleRoom :: forall m eff. 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 a m. Message -> MessageT m a -> m a

Re-exports from Wechaty.Types

#WECHATY Source

data WECHATY :: Effect