public function view($id, $params = array()) {
        $params = array_merge(array('id' => $id), $params);
        return $this->master->call('messages/view', $params);
    }
public function view($id, $params = array()) {
        $params = array_merge(array('id' => $id), $params);
        return $this->master->call('messages/view', $params);
    }
public function view ( $ id , $ params = array ( ) ) { $ params = array_merge ( array ( 'id' => $ id ) , $ params ) ; return $ this -> master -> call ( 'messages/view' , $ params ) ; }
View single message

@param string $id
@param array $params
@option string "unique_id"
@option bool "show_contact" Show details of the recipient from the contacts
@return object
@option string "id"
@option string "phone"
@option string "status"
- delivered: The message is sent and delivered
- undelivered: The message is sent but not delivered
- sent: The message is sent and waiting for report
- unsent: The message wasn't sent
- in_progress: The message is queued for sending
- saved: The message was saved in schedule
@option string "queued" Date of enqueued
@option string "sent" Date of sending
@option string "delivered" Date of deliver
@option string "sender"
@option string "type" - eco|full|mms|voice
@option string "text"
@option string "reason"
- message_expired
- unsupported_number
- message_rejected
- missed_call
- wrong_number
- limit_exhausted
- lock_send
- wrong_message
- operator_error
- wrong_sender_name
- number_is_blacklisted
- sending_to_foreign_networks_is_locked
- no_permission_to_send_messages
- other_error
@option object "contact"
@option string "first_name"
@option string "last_name"
@option string "company"
@option string "phone"
@option string "email"
@option string "tax_id"
@option string "city"
@option string "address"
@option string "description"
View single message