public function deleteConversations($id)
    {
        $deleteConversation = $this->conversation->delete($id);
        if ($deleteConversation) {
            return $this->message->deleteMessages($id);
        }

        return false;
    }
public function deleteConversations($id)
    {
        $deleteConversation = $this->conversation->delete($id);
        if ($deleteConversation) {
            return $this->message->deleteMessages($id);
        }

        return false;
    }
public function deleteConversations ( $ id ) { $ deleteConversation = $ this -> conversation -> delete ( $ id ) ; if ( $ deleteConversation ) { return $ this -> message -> deleteMessages ( $ id ) ; } return false ; }
delete message threat or conversation by conversation id.

@param int $id

@return bool
delete message threat or conversation by conversation id .