src/bbn/appui/chat.php
public function info($id_chat): ?array
  {
    if ( $this->check() ){
      return $this->db->rselect('bbn_chats', [], ['id' => $id_chat]) ?: null;
    }
    return null;
  }
public function info($id_chat): ?array
  {
    if ( $this->check() ){
      return $this->db->rselect('bbn_chats', [], ['id' => $id_chat]) ?: null;
    }
    return null;
  }
public function info ( $ id_chat ) : ? array { if ( $ this -> check ( ) ) { return $ this -> db -> rselect ( 'bbn_chats' , [ ] , [ 'id' => $ id_chat ] ) ? : null ; } return null ; }
Gets information about the given chat.

@param $id_chat
@return array|null
Gets information about the given chat .