public function getConversation($id)
    {
        if ($this->isEmptyId($id)) {
            throw new InvalidArgumentException;
        }

        return Conversation::fromResponse($this->call('conversations/' . $id, [], 'get'));
    }
public function getConversation($id)
    {
        if ($this->isEmptyId($id)) {
            throw new InvalidArgumentException;
        }

        return Conversation::fromResponse($this->call('conversations/' . $id, [], 'get'));
    }
public function getConversation ( $ id ) { if ( $ this -> isEmptyId ( $ id ) ) { throw new InvalidArgumentException ; } return Conversation :: fromResponse ( $ this -> call ( 'conversations/' . $ id , [ ] , 'get' ) ) ; }
Get conversation by id.

@param int $id

@return Conversation

@throws InvalidArgumentException
@throws Exception
Get conversation by id .