NAME

WebService::Intercom::Message - represent a message

SYNOPSIS

my $message = $intercom->create_message(from => {type => 'admin', id => 'test' }, 
                                        body => 'test message',
                                        template => 'personal',
                                        message_type => 'email',
                                        subject => 'test subject');

ATTRIBUTES

Attributes are defined at http://doc.intercom.io/api/#admin-initiated-conversation and http://doc.intercom.io/api/#user-initiated-conversation

body
id
message_type
created_at
intercom - the WebService::Intercom object that created this user object