Class Message


  • public class Message
    extends TwiML
    TwiML wrapper for <Message>
    • Method Detail

      • getTo

        public String getTo()
        Phone Number to send Message to
        Returns:
        Phone Number to send Message to
      • getFrom

        public String getFrom()
        Phone Number to send Message from
        Returns:
        Phone Number to send Message from
      • getAction

        public URI getAction()
        Action URL
        Returns:
        Action URL
      • getMethod

        public HttpMethod getMethod()
        Action URL Method
        Returns:
        Action URL Method
      • getStatusCallback

        public URI getStatusCallback()
        Status callback URL. Deprecated in favor of action.
        Returns:
        Status callback URL. Deprecated in favor of action.
      • getBody

        public String getBody()
        Message Body
        Returns:
        Message Body