From 4a4990e207d43848f4f4931a63722ef28d966742 Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Fri, 22 Apr 2022 23:50:19 +0600 Subject: [PATCH] Update the FAQ --- README.md | 4 ++++ examples/purchase.rs | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d93fca29..fdb8f3bc 100644 --- a/README.md +++ b/README.md @@ -334,6 +334,10 @@ Associated links: - [Marvin's Marvellous Guide to All Things Webhook](https://core.telegram.org/bots/webhooks) - [Using self-signed certificates](https://core.telegram.org/bots/self-signed) +**Q: Can I handle both callback queries and messages within a single dialogue?** + +A: Yes, see [`examples/purchase.rs`](examples/purchase.rs). + ## Community bots Feel free to propose your own bot to our collection! diff --git a/examples/purchase.rs b/examples/purchase.rs index c2a90ad1..28bb3d17 100644 --- a/examples/purchase.rs +++ b/examples/purchase.rs @@ -1,5 +1,5 @@ -// This example demonstrates how to deal with messages and callback queries in a -// single dialogue. +// This example demonstrates how to deal with messages and callback queries +// within a single dialogue. // // # Example // ```