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

        $res = $this->call('conversations/' . $id . '/markread', [], 'post');

        if ($res) {
            return true;
        }

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

        $res = $this->call('conversations/' . $id . '/markread', [], 'post');

        if ($res) {
            return true;
        }

        return false;
    }
public function readMessages ( $ id ) { if ( $ this -> isEmptyId ( $ id ) ) { throw new InvalidArgumentException ; } $ res = $ this -> call ( 'conversations/' . $ id . '/markread' , [ ] , 'post' ) ; if ( $ res ) { return true ; } return false ; }
Read all messages in conversation.

@param int $id - conversation ID

@return bool

@throws InvalidArgumentException
@throws Exception
Read all messages in conversation .