Commit graph

216 commits

Author SHA1 Message Date
Hirrolot
dbd46dd9cd Release v0.9.0
Former-commit-id: fcea341bc8
2022-04-27 16:10:33 +06:00
Hirrolot
1d1ff7db5a Merge pull request #613 from teloxide/dptree-case
Deprecate `teloxide::handler!` in favour of `dpree::case!`

Former-commit-id: 0d36a1e2b7
2022-04-27 16:05:15 +06:00
Hirrolot
deb992c787 Deprecate teloxide::handler! in favour of dptree::case! 2022-04-27 15:16:34 +06:00
Hirrolot
7c1092a8db Remove useless throw_dice from Cargo.toml
Former-commit-id: 33e7395fea
2022-04-27 08:09:20 +06:00
Hirrolot
23e6084ed1 Update Cargo.toml
Former-commit-id: b9ab5f207c
2022-04-27 08:07:00 +06:00
Hirrolot
46f12a7c8c Update Cargo.toml
Former-commit-id: 21493d8093
2022-04-27 01:12:36 +06:00
Waffle Maybe
6c5bb1932d
Merge branch 'dev' into master-copy 2022-04-26 18:01:38 +04:00
Hirrolot
3d26ac7f3a Release v0.8.2 2022-04-26 02:25:50 +06:00
Hirrolot
7c465b99cb Update teloxide-macros to v0.6.1 2022-04-26 02:13:57 +06:00
Hirrolot
19595c1e03 Fix #[derive(DialogueState)] 2022-04-26 01:55:29 +06:00
Hirrolot
7fc1f6f180 Update teloxide-core to v0.6.0 2022-04-25 18:44:27 +06:00
Hirrolot
5c280036f9 Release v0.8.1 2022-04-24 01:34:53 +06:00
Hirrolot
96b8df4bdd Add examples/purchase.rs 2022-04-22 23:42:50 +06:00
Hirrolot
e12f7a44d0
Set teloxide-core to v0.5.1
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
2022-04-18 16:35:10 +06:00
Hirrolot
52ba62d3fc Release v0.8.0 2022-04-18 16:32:46 +06:00
Maybe Waffle
63b3be8db7 Update dptree, now to a crates.io version! 2022-04-18 14:13:39 +04:00
Maybe Waffle
63a7b02c68 Update dptree (again) 2022-04-15 14:19:46 +04:00
Maybe Waffle
dbe45fb49f Update dptree
Use the new naming of things for handler descriptions :)
2022-04-15 13:04:14 +04:00
Maybe Waffle
4db52436f3 [WIP] implement allowed updates in dispatcher 2022-04-15 12:58:52 +04:00
Maybe Waffle
c9a6b77434 Make worker queue size in dp configurable 2022-04-13 16:17:06 +04:00
Maybe Waffle
2aa59d760a Update teloxide-core 0.4.5 -> 0.5.0 2022-04-13 15:58:29 +04:00
Waffle Maybe
7abbd2dc09
Merge pull request #554 from teloxide/webhooks
Built-in webhook support
2022-04-07 16:31:26 +04:00
Maybe Waffle
bb7a4729c0 Remove the need for CacheMe in dispatcher 2022-04-05 17:19:10 +04:00
Maybe Waffle
f83ff59709 Fix issues caused by the rebase 2022-04-05 16:42:52 +04:00
Maybe Waffle
e951af7abe Fix ngrok_ping_pong example required-features
...and info! message
2022-04-05 16:36:31 +04:00
Maybe Waffle
b86b2f67f3 Add built-in support for webhooks
This commit adds built-in support for webhooks based on the `axum`
framework under a new "webhooks-axum" feature.

API: `update_listeners::webhooks` module with `Options` (a common struct
that stores all webhook related settings) and `axum` (function that
implements webhook).
2022-04-05 16:32:06 +04:00
Hirrolot
9bb2a85aba Merge branch 'dev' into teloxide-handler 2022-04-02 21:32:59 +06:00
Hirrolot
ae227be4f0 Use std::error::Error instead of anyhow in the examples 2022-03-29 01:55:09 +06:00
Hirrolot
fa5d1f738b Remove support for the old dispatching 2022-03-29 01:55:09 +06:00
Maybe Waffle
b3b8073a12 Rename BotCommand -> BotCommands (the trait)
This removes the ambiguity with `types::BotCommand` and also the new
name just makes more sense, since this trait is usually implemented for
enums that can be many different commands and not a single one.

Note: this requires changes in the `teloxide-macro` crate.
2022-03-27 22:10:50 +04:00
Hirrolot
3075dfd8ac Use std::error::Error instead of anyhow in the examples 2022-03-24 17:30:36 +06:00
Hirrolot
f5653c747d Remove support for the old dispatching 2022-03-24 17:25:42 +06:00
Hirrolot
c35f4f42ce
Merge pull request #563 from teloxide/v0.7.2
Release v0.7.2
2022-03-23 05:32:31 -07:00
Hirrolot
85a04553a5 Document new command renaming rules 2022-03-23 08:03:15 +06:00
Hirrolot
7aa0439afd Release v0.7.2 2022-03-22 11:40:53 +06:00
Hirrolot
7a932c8fd9 Merge examples/sqlite_remember.rs with redis_remember.rs 2022-03-12 14:33:38 +06:00
Hirrolot
3ad74b6a9b Release v0.7.1 2022-03-09 20:42:12 +06:00
Maybe Waffle
31ff3a468d Fix compilation with non-default features 2022-03-08 12:20:01 +04:00
Hirrolot
30d37741e4 Release v0.7.0 2022-02-09 08:38:57 +06:00
Maybe Waffle
675600bf74 Fix docs.rs build 2022-02-06 17:23:21 +03:00
Hirrolot
9eac077ecd Release v0.6.0 2022-02-06 17:47:56 +06:00
Hirrolot
3568ae5bd7 Update teloxide-macros to v0.5 2022-02-05 21:40:10 +06:00
Hirrolot
ec70e3b7d8 Update dptree to v0.1.0 2022-02-05 20:40:42 +06:00
Hirrolot
07b844db99 Add BotCommand::bot_commands 2022-02-05 02:18:47 +06:00
Hirrolot
67901fa53b Update dptree 2022-02-05 00:02:22 +06:00
Hirrolot
24917a60d4 Use #[derive(BotCommand)] in examples/sqlite_remember.rs and examples/redis_remember.rs 2022-02-04 20:59:46 +06:00
Hirrolot
09c3424097 Replace lazy_static with once_cell 2022-02-04 20:14:57 +06:00
Hirrolot
4259dcce7b Set teloxide-core to v0.4 2022-02-04 09:59:14 +06:00
Hirrolot
242bfef885 Fix merge conflicts 2022-02-03 20:39:32 +06:00
Hirrolot
45293e3168 Fix dialogue examples 2022-02-03 02:36:36 +06:00