Copyright | (C) 2017- Mark Andrus Roberts |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Mark Andrus Roberts <markandrusroberts@gmail.com> |
Stability | provisional |
Safe Haskell | None |
Language | Haskell98 |
Twilio.Message
Description
- data Message = Message {
- sid :: !MessageSID
- dateCreated :: !UTCTime
- dateUpdated :: !UTCTime
- dateSent :: !(Maybe UTCTime)
- accountSID :: !AccountSID
- to :: !Text
- from :: !Text
- body :: !Text
- status :: !MessageStatus
- direction :: !MessageDirection
- priceUnit :: !PriceUnit
- apiVersion :: !APIVersion
- uri :: !URI
- get :: MonadThrow m => MessageSID -> TwilioT m Message
- data MessageDirection
- data MessageStatus
Resource
Constructors
Message | |
Fields
|
get :: MonadThrow m => MessageSID -> TwilioT m Message #
Get a Message
by MessageSID
.
Types
data MessageDirection #
Constructors
Inbound | |
OutboundAPI | |
OutboundCall | |
OutboundReply |
Instances
Eq MessageDirection # | |
Show MessageDirection # | |
FromJSON MessageDirection # | |
data MessageStatus #
Instances
Eq MessageStatus # | |
Show MessageStatus # | |
FromJSON MessageStatus # | |