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.Messages
Contents
Description
- data Messages = Messages {}
- data PostMessage = PostMessage {
- sendTo :: !Text
- sendFrom :: !Text
- sendBody :: !Text
- statusCallback :: !(Maybe Text)
- data PostCopilotMessage = PostCopilotMessage {
- coSendTo :: !Text
- coMsgId :: !MessagingServiceSID
- coBody :: !Text
- get :: MonadThrow m => TwilioT m Messages
- post :: MonadThrow m => PostMessage -> TwilioT m Message
- postCopilot :: MonadThrow m => PostCopilotMessage -> TwilioT m Message
Resource
Constructors
Messages | |
Fields |
data PostMessage #
Constructors
PostMessage | |
Fields
|
Instances
data PostCopilotMessage #
Constructors
PostCopilotMessage | |
Fields
|
Instances
post :: MonadThrow m => PostMessage -> TwilioT m Message #
Send a text message.
postCopilot :: MonadThrow m => PostCopilotMessage -> TwilioT m Message #
Send a text message using Copilot