method getAdmins documentation in bbn\Appui\Chat
Returns the admins of the given chat as an array of id_user.
function(string $id_chat)
{
if ($this->check()
&& bbn\Str::isUid($id_chat)
) {
return $this->db->getFieldValues(
'bbn_chats_users', 'id_user', [
'id_chat' => $id_chat,
'active' => 1,
'admin' => 1
]
);
}
return null;
}
Returns the admins of the given chat as an array of id_user. 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.
© 2011-2024
BBN Solutions