pub async fn room_find_all(&self, query: RoomQueryFilter) -> Result<Vec<Room<T>>, WechatyError> {
        debug!("room_find_all(query = {:?}", query);
        if !self.is_logged_in() {
            return Err(WechatyError::NotLoggedIn);
        }
        match self.puppet().room_search(query).await {
            Ok(room_id_list) => Ok(self.room_load_batch(room_id_list).await),
            Err(e) => Err(WechatyError::from(e)),
        }
    }
/// Find all rooms that match the query
Find all rooms that match the query
Find all rooms that match the query
pub async fn room_find_all(&self, query: RoomQueryFilter) -> Result<Vec<Room<T>>, WechatyError> {
        debug!("room_find_all(query = {:?}", query);
        if !self.is_logged_in() {
            return Err(WechatyError::NotLoggedIn);
        }
        match self.puppet().room_search(query).await {
            Ok(room_id_list) => Ok(self.room_load_batch(room_id_list).await),
            Err(e) => Err(WechatyError::from(e)),
        }
    }
pub async fn room_find_all ( & self , query : RoomQueryFilter ) -> Result < Vec < Room < T > > , WechatyError > { debug ! ( " " query ) ; if ! self . is_logged_in ( ) { return Err ( WechatyError :: NotLoggedIn ) ; } match self . puppet ( ) . room_search ( query ) . await { Ok ( room_id_list ) => Ok ( self . room_load_batch ( room_id_list ) . await ) , Err ( e ) => Err ( WechatyError :: from ( e ) ) , } }
Find all rooms that match the query
Find all rooms that match the query
&self
query
RoomQueryFilter
&self
query
RoomQueryFilter