method setTitle documentation in bbn\Appui\Chat
function(string $id_chat, string $title = NULL)
{
if (\bbn\Str::isUid($id_chat)
&& $this->isAdmin($id_chat)
&& $this->db->update('bbn_chats', ['title' => $title], ['id' => $id_chat])
) {
$this->_set_state_hash($id_chat);
return $this->_add_bot_message(
$id_chat, [
$this->user->getId() => X::_("You have changed the chat title"),
$this->user->getName() . ' ' . X::_('has changed the chat title')
]
);
}
}
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-2023
BBN Solutions