mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-08 19:33:53 +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(
|
.branch(
|
||||||
// Filter allow you to filter updates by some condition.
|
// Filter allow you to filter updates by some condition.
|
||||||
dptree::filter(
|
dptree::filter(
|
||||||
// Note that `async move` is obligatory.
|
|
||||||
|msg: Message| msg.chat.is_group() || msg.chat.is_supergroup(),
|
|msg: Message| msg.chat.is_group() || msg.chat.is_supergroup(),
|
||||||
)
|
)
|
||||||
// Endpoint is a last message handler.
|
// Endpoint is a last message handler.
|
||||||
|
|
Loading…
Reference in a new issue