| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
MatrixBot.MatrixApi.Types.MEventTypes
Synopsis
- data MEventType
- data MEventTypeOneOf (types :: [MEventType]) where
- MAnnotationTypeOneOf :: forall (types :: [MEventType]). OneOf 'MAnnotationType types ~ 'True => MEventTypeOneOf types
- MReactionTypeOneOf :: forall (types :: [MEventType]). OneOf 'MReactionType types ~ 'True => MEventTypeOneOf types
- MRoomMessageTypeOneOf :: forall (types :: [MEventType]). OneOf 'MRoomMessageType types ~ 'True => MEventTypeOneOf types
- MLoginPasswordTypeOneOf :: forall (types :: [MEventType]). OneOf 'MLoginPasswordType types ~ 'True => MEventTypeOneOf types
- mEventTypeToString :: IsString s => MEventType -> s
- mEventTypeOneOfToMEventType :: forall (t :: MEventType) (ts :: [MEventType]). MEventTypeOneOf (t ': ts) -> MEventType
Documentation
data MEventType Source #
Matrix event types enum
Instances
data MEventTypeOneOf (types :: [MEventType]) where Source #
Limited/restricted subset of MEventType
Constructors
| MAnnotationTypeOneOf :: forall (types :: [MEventType]). OneOf 'MAnnotationType types ~ 'True => MEventTypeOneOf types | |
| MReactionTypeOneOf :: forall (types :: [MEventType]). OneOf 'MReactionType types ~ 'True => MEventTypeOneOf types | |
| MRoomMessageTypeOneOf :: forall (types :: [MEventType]). OneOf 'MRoomMessageType types ~ 'True => MEventTypeOneOf types | |
| MLoginPasswordTypeOneOf :: forall (types :: [MEventType]). OneOf 'MLoginPasswordType types ~ 'True => MEventTypeOneOf types |
Instances
mEventTypeToString :: IsString s => MEventType -> s Source #
mEventTypeOneOfToMEventType :: forall (t :: MEventType) (ts :: [MEventType]). MEventTypeOneOf (t ': ts) -> MEventType Source #