twiml-0.1.0.0: TwiML library for Haskell

Safe HaskellNone

Text.XML.Twiml.Verbs.Say

Contents

Synopsis

<Say>

This example

module Example where

import Text.XML.Twiml

example
  = respond
  . sayWoman' French "Chapeau"
  $ end

produces the following TwiML response:

<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Say voice="woman" language="fr">Chapeau</Say>
</Response>

data Say p Source

Instances

Twiml p (Say p) 
HasLoop (Say p) 

Constructors

say :: Twiml p t => String -> t -> Say pSource

say' :: Twiml p t => SayAttributes -> String -> t -> Say pSource

sayMan :: Twiml p t => String -> t -> Say pSource

sayMan' :: Twiml p t => Lang -> String -> t -> Say pSource

sayWoman :: Twiml p t => String -> t -> Say pSource

sayWoman' :: Twiml p t => Lang -> String -> t -> Say pSource

sayAlice :: Twiml p t => String -> t -> Say pSource

sayAlice' :: Twiml p t => LangAlice -> String -> t -> Say pSource

Attributes

Lenses