struct Asterisk::ARI::Endpoints::TextMessage

Overview

A text message.

Included Modules

Defined in:

asterisk/ari/models/endpoints_text_message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def body : String #

The text of the message.


[View source]
def body=(body : String) #

The text of the message.


[View source]
def from : String #

A technology specific URI specifying the source of the message. For sip and pjsip technologies, any SIP URI can be specified. For xmpp, the URI must correspond to the client connection being used to send the message.


[View source]
def from=(from : String) #

A technology specific URI specifying the source of the message. For sip and pjsip technologies, any SIP URI can be specified. For xmpp, the URI must correspond to the client connection being used to send the message.


[View source]
def to : String #

A technology specific URI specifying the destination of the message. Valid technologies include sip, pjsip, and xmp. The destination of a message should be an endpoint.


[View source]
def to=(to : String) #

A technology specific URI specifying the destination of the message. Valid technologies include sip, pjsip, and xmp. The destination of a message should be an endpoint.


[View source]
def variables : Array(Endpoints::TextMessageVariable)? #

Technology specific key/value pairs associated with the message.


[View source]
def variables=(variables : Array(Endpoints::TextMessageVariable)?) #

Technology specific key/value pairs associated with the message.


[View source]