method destroy documentation in bbn\Appui\Chat

Destroys the given chat

function(string $id_chat) { return $this->check() && bbn\Str::isUid($id_chat) && $this->isCreator($id_chat) && $this->db->update('bbn_chats', ['blocked' => 1], ['id' => $id_chat]) && $this->db->update('bbn_chats_users', ['active' => 0], ['id_chat' => $id_chat]) && $this->_set_state_hash($id_chat); }

Destroys the given chat BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.