pub async fn message_find_all(&self, query: MessageQueryFilter) -> Result<Vec<Message<T>>, WechatyError> {
        debug!("message_find_all(query = {:?}", query);
        if !self.is_logged_in() {
            return Err(WechatyError::NotLoggedIn);
        }
        match self.puppet().message_search(query).await {
            Ok(message_id_list) => Ok(self.message_load_batch(message_id_list).await),
            Err(e) => Err(WechatyError::from(e)),
        }
    }
/// Find all messages that match the query
Find all messages that match the query
Find all messages that match the query
pub async fn message_find_all(&self, query: MessageQueryFilter) -> Result<Vec<Message<T>>, WechatyError> {
        debug!("message_find_all(query = {:?}", query);
        if !self.is_logged_in() {
            return Err(WechatyError::NotLoggedIn);
        }
        match self.puppet().message_search(query).await {
            Ok(message_id_list) => Ok(self.message_load_batch(message_id_list).await),
            Err(e) => Err(WechatyError::from(e)),
        }
    }
pub async fn message_find_all ( & self , query : MessageQueryFilter ) -> Result < Vec < Message < T > > , WechatyError > { debug ! ( " " query ) ; if ! self . is_logged_in ( ) { return Err ( WechatyError :: NotLoggedIn ) ; } match self . puppet ( ) . message_search ( query ) . await { Ok ( message_id_list ) => Ok ( self . message_load_batch ( message_id_list ) . await ) , Err ( e ) => Err ( WechatyError :: from ( e ) ) , } }
Find all messages that match the query
Find all messages that match the query
&self
query
MessageQueryFilter
&self
query
MessageQueryFilter