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
Hirrolot
3b3f5f855f
Make all examples just *.rs
files
2022-02-02 03:54:00 +06:00
Hirrolot
2058395d54
Add Me
into the dependencies
2022-01-28 20:52:01 +06:00
Maybe Waffle
755ec44aea
Cleanup update_listeners
docs
2022-01-25 20:25:19 +03:00
Maybe Waffle
85ef14867f
Fix examples
2022-01-12 14:03:52 +03:00
Maybe Waffle
d5392fddab
Update teloxide-core
yet again
2022-01-12 12:50:35 +03:00
p0lunin
d7386a7dc1
remove old_dispatching
feature, add prelude2
and repls2
modules
2022-01-06 14:50:59 +02:00
p0lunin
a8098350fc
Merge branch 'dev' into dispatching2
...
# Conflicts:
# Cargo.toml
# examples/dialogue_bot/Cargo.toml
# examples/inline_bot/src/main.rs
# src/dispatching/mod.rs
# src/lib.rs
2022-01-06 14:25:01 +02:00
p0lunin
ca1c1f3e33
update teloxide_macros dependency + update examples and tests using BotDialogue
derive macro
2022-01-06 14:11:53 +02:00
p0lunin
72dfef4963
added DialogueState macro
2021-12-29 13:33:51 +02:00
Maybe Waffle
edecf5975f
Update teloxide-core
to the latest git version
2021-12-28 17:31:33 +03:00
p0lunin
a644d0b6d2
added handler_ext.rs, updated dptree version
2021-12-26 16:55:24 +02:00
Hirrolot
e12b644e31
Remove the authors
field from Cargo.toml
2021-12-24 21:25:51 +06:00
Andrew
2dba0aa2f0
crates.io no longer shows badges
2021-12-21 15:35:48 +05:00
p0lunin
635c18142a
1. Bump futures to 0.3.15 version (Abortable::is_aborted()).
...
2. Fix simple_commands_bot example.
2021-12-11 13:11:25 +02:00
p0lunin
4752b22c43
1. Change feature dispatching2 -> old_dispatching.
...
2. Added command repls.
3. Added function BotCommand::ty() due to new restrictions in the command repls.
2021-12-11 12:46:44 +02:00
p0lunin
e53f9eb2b3
use new system in the dice example
2021-12-03 16:02:57 +02:00
p0lunin
93ed028e44
added dispatching2
feature, implemented standard repls
2021-11-25 13:44:55 +02:00
p0lunin
14083c8300
Many improvements of Dispatcher
, also made many dispatcher::*
methods and types pub(crate) for using in dispatching2 module
2021-11-25 12:59:54 +02:00
p0lunin
887b24d27f
Initial commit.
...
1. Added `dptree` dependency.
2. Added `dispatching2` module.
2. Added `Dispatcher` and `Handlers` types, which is similar to `dispatching::Dispatcher` type.
2021-11-13 12:35:56 +02:00
Waffle Maybe
fb238ff656
Merge branch 'dev' into master-to-dev-1
2021-10-25 17:17:42 +03:00
Maybe Waffle
f31adc1bb2
Dump version (0.5.2 -> 0.5.3)
2021-10-25 15:52:57 +03:00