public function fetchAttachmentsOfLastMessage()
    {
        $email = $this->fetchLastMessage();
        $response = $this->client->get("inboxes/{$this->config['inbox_id']}/messages/{$email->id}/attachments")->getBody();

        return json_decode($response, true);
    }
public function fetchAttachmentsOfLastMessage()
    {
        $email = $this->fetchLastMessage();
        $response = $this->client->get("inboxes/{$this->config['inbox_id']}/messages/{$email->id}/attachments")->getBody();

        return json_decode($response, true);
    }
public function fetchAttachmentsOfLastMessage ( ) { $ email = $ this -> fetchLastMessage ( ) ; $ response = $ this -> client -> get ( "inboxes/{$this->config['inbox_id']}/messages/{$email->id}/attachments" ) -> getBody ( ) ; return json_decode ( $ response , true ) ; }
Gets the attachments on the last message.

@return array
Gets the attachments on the last message .