Commit graph

235 commits

Author SHA1 Message Date
Hirrolot
00efbe163a Stop using AutoSend in the examples and docs 2022-09-29 09:37:20 +06:00
Maybe Waffle
4cb9d93d59 Update changelog 2022-09-04 17:01:13 +04:00
Maybe Waffle
44e134c47e update teloxide-macros 2022-08-28 15:19:38 +04:00
Hirrolot
ab463df5eb Release v0.10.1 2022-07-22 18:55:58 +06:00
Hirrolot
3d9f4ef2b0 Update teloxide-macros to v0.6.3 2022-07-19 22:02:44 +06:00
Hirrolot
78afa99b79 Test teloxide-macros with a parse_with bug fix 2022-07-19 21:47:09 +06:00
Hirrolot
d6d819afb8 Leave teloxide-core and dptree as GitHub deps (dev) 2022-07-19 20:16:08 +06:00
Hirrolot
ce40f04ebd Remove commented dependencies in Cargo.toml 2022-07-19 19:34:14 +06:00
Maybe Waffle
6996c7ff87 bump version 2022-07-19 14:53:42 +04:00
Maybe Waffle
ed88e43afa Update deps 2022-07-19 14:30:18 +04:00
Maybe Waffle
eb8b384f46 Update dptree 2022-07-18 15:56:45 +04:00
Maybe Waffle
8806cb9d78 Add support for secret_token in built-in webhooks 2022-07-03 22:49:15 +04:00
Maybe Waffle
c129b6a53d Update teloxide-core to master 2022-07-03 22:49:15 +04:00
Hirrolot
a48f6c8a44 Use Arc<AtomicU64> in examples/shared_state.rs 2022-06-29 01:49:49 +06:00
Maybe Waffle
0b582882eb use built-in webhook support in heroku example 2022-06-09 18:00:15 +04:00
Hirrolot
3757d837a0 Release v0.9.2 2022-06-07 10:06:37 +06:00
Hirrolot
1c02e38293 Release v0.9.1 2022-05-27 00:27:57 +06:00
Hirrolot
e7de79b975 Update teloxide-macros to v0.6.2 2022-05-27 00:12:03 +06:00
Hirrolot
4494acda88 Test the rename attribute 2022-05-26 23:48:43 +06:00
Hirrolot
fcea341bc8 Release v0.9.0 2022-04-27 16:10:33 +06:00
Hirrolot
0d36a1e2b7
Merge pull request #613 from teloxide/dptree-case
Deprecate `teloxide::handler!` in favour of `dpree::case!`
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
33e7395fea Remove useless throw_dice from Cargo.toml 2022-04-27 08:09:20 +06:00
Hirrolot
b9ab5f207c Update Cargo.toml 2022-04-27 08:07:00 +06:00
Hirrolot
21493d8093 Update Cargo.toml 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