Difference between kick_chat_member and ban_chat_member?
Here is a part of my code: async move { if let Some(user) = msg.from() { println!(“Chat ID: {}”, msg.chat.id); if user.id == UserId(651726581) { if allowed_chat_ids.contains(&msg.chat.id) { match bot.get_chat(user.id).await { Ok(chat) => { let bio = chat.bio().unwrap_or_default(); let contains_forbidden_word = forbidden_words .iter() .any(|word| bio.contains(word)); if contains_forbidden_word { println!(“User’s bio contains forbidden words!”); // Ваш […]