twilio-haskell:Twilio 的 Haskell 客户端

时间:2024-07-24 09:54:05
【文件属性】:

文件名称:twilio-haskell:Twilio 的 Haskell 客户端

文件大小:5KB

文件格式:ZIP

更新时间:2024-07-24 09:54:05

Haskell

特威利奥哈斯克尔 轻松发送短信: {-# LANGUAGE OverloadedStrings #-} import Control.Monad.Trans.Maybe import Twilio main :: IO () main = let u = User " Your Twilio User ID " " Your Twilio Auth Secret " send = sendMessage u message = " Boo " from = " +18001234567 " to = " +19001234567 " in do status <- runMaybeT $ send $ SMS from to message putStr


【文件预览】:
twilio-haskell-master
----Setup.hs(46B)
----src()
--------Main.hs(391B)
--------Twilio.hs(5KB)
----twilio.cabal(2KB)
----LICENSE(1KB)
----README.md(454B)
----Makefile(192B)
----.gitignore(51B)

网友评论