/// Returns true if we already have some data for the given user
/// and false otherwise
Returns true if we already have some data for the given user
and false otherwise
Returns true if we already have some data for the given user and false otherwise
pub(crate) fn is_known_user(&self, chat_id: ChatId, user_name: &UserName) -> bool {
        if let Some(chat_users) = &self.users.get(&chat_id) {
            if chat_users.get(&user_name).is_some() {
                return true;
            }
        }
        false
    }
pub ( crate ) fn is_known_user ( & self , chat_id : ChatId , user_name : & UserName ) -> bool { if let Some ( chat_users ) = & self . users . get ( & chat_id ) { if chat_users . get ( & user_name ) . is_some ( ) { return true ; } } false }
Returns true if we already have some data for the given user
and false otherwise
Returns true if we already have some data for the given user and false otherwise
&self
chat_id
ChatId
user_name
&UserName