mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Add information about webhooks to README.md
This commit is contained in:
parent
51129f5d0f
commit
342bb72c4a
1 changed files with 3 additions and 0 deletions
|
@ -282,6 +282,9 @@ The second one produces very strange compiler messages because of the `#[tokio::
|
|||
### Why Rust?
|
||||
Most programming languages have their own implementations of Telegram bots frameworks, so why not Rust? We think Rust provides enough good ecosystem and the language itself to be suitable for writing bots.
|
||||
|
||||
### Can I use webhooks?
|
||||
teloxide itself doesn't provide special API for working with webhooks due to the nature of webhooks with lots of subtle settings. Instead, you setup your webhook by yourself, as shown in [webhook_ping_pong_bot](examples/webhook_ping_pong_bot/src/main.rs). Also, see [Marvin's Marvellous Guide to All Things Webhook](https://core.telegram.org/bots/webhooks).
|
||||
|
||||
## Community bots
|
||||
Feel free to push your own bot into our collection: https://github.com/teloxide/community-bots. Later you will be able to play with them right in our official chat: https://t.me/teloxide.
|
||||
|
||||
|
|
Loading…
Reference in a new issue