mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Update examples/dispatching2_features.rs
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
This commit is contained in:
parent
08380790b8
commit
108d7b7d94
1 changed files with 0 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue