Update examples/dispatching2_features.rs

Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
This commit is contained in:
Hirrolot 2022-02-05 00:33:28 +06:00 committed by GitHub
parent 08380790b8
commit 108d7b7d94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,6 @@ async fn main() {
.branch(
// Filter allow you to filter updates by some condition.
dptree::filter(
// Note that `async move` is obligatory.
|msg: Message| msg.chat.is_group() || msg.chat.is_supergroup(),
)
// Endpoint is a last message handler.