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 // ```