Sima Kinsart
e2f6fde743
Update the feature set with rocksdb-storage
2022-10-30 14:42:33 +06:00
Sima Kinsart
24f8476da7
Merge branch 'dev' into rocksdb-storage
2022-10-30 11:57:10 +06:00
Hirrolot
e7c5317954
Rename CommandRepl
=> CommandReplExt
2022-10-29 14:41:26 +06:00
xamgore
d75b465205
Extend dialogue storages with RocksDB
2022-10-25 17:01:02 +04:00
Hirrolot
0fb9399201
Make CommandRepl
's methods #[must_use]
2022-10-15 23:54:16 +06:00
Hirrolot
d90a9ff2e4
Deprecate BotCommands::ty
too
2022-10-11 15:00:02 +06:00
Hirrolot
739772929b
Implement the CommandRepl
trait
2022-10-11 14:54:51 +06:00
Waffle Maybe
512e785999
Merge pull request #743 from TmLev/master
...
Sync docs & comments with code, fix grammar and typos
2022-10-10 20:25:43 +04:00
Lev Khoroshansky
b3fe220d99
fix: Grammar & typos
2022-10-09 19:42:20 +03:00
Lev Khoroshansky
6ebf51efeb
fix: Sync docs & comments with code
2022-10-09 19:41:52 +03:00
Hirrolot
a7981cc99b
Simplify the brief description of crate::stop
...
Usually, we have very brief descriptions of modules. I see no reason to make it elaborate -- it does even contain only a few items.
2022-10-07 22:50:08 +06:00
Hirrolot
cfc0776621
Merge branch 'dev' into v0.11.0
2022-10-07 17:23:52 +06:00
Hirrolot
4e56dd29b1
Release v0.11.0
2022-10-07 16:55:57 +06:00
Hirrolot
97e2cb0aa1
Merge pull request #735 from teloxide/consistent-naming
...
Use consistent naming of our crates
2022-10-07 16:44:27 +06:00
Hirrolot
1ab5bdfc77
Use consistent naming of our crates
2022-10-07 16:34:42 +06:00
Hirrolot
4b9aba8e13
Merge pull request #732 from teloxide/refactor-dptree-usage
...
Refactor `dptree` usage
2022-10-07 16:26:05 +06:00
Waffle Maybe
1343015e6c
Update src/dispatching/repls/preamble.md
...
Co-authored-by: Hirrolot <hirrolot@gmail.com>
2022-10-07 14:22:02 +04:00
Maybe Waffle
583e5ea4ab
link "advanced features" in repls
to dispatching
2022-10-07 14:11:56 +04:00
Maybe Waffle
dc9ba4dd11
fixups
2022-10-07 14:06:42 +04:00
Maybe Waffle
c6dd6bed44
I hate rustfmt
2022-10-07 13:59:20 +04:00
Maybe Waffle
db22e20221
Apply suggestions from the review
2022-10-07 13:09:57 +04:00
Maybe Waffle
d9b18abd55
fix docs
2022-10-07 12:27:13 +04:00
Maybe Waffle
83d3a11be9
Apply suggestions from code review
2022-10-07 12:03:34 +04:00
Hirrolot
fe3aa2e798
Refactor dptree
usage
2022-10-07 10:14:36 +06:00
Hirrolot
291b69b477
Merge branch 'dev' into repl_docs_upd
2022-10-07 08:59:47 +06:00
Hirrolot
64359db3da
Update to the latest teloxide-macros
2022-10-06 22:35:32 +06:00
Maybe Waffle
dc652da1ac
fixup tests and examples that use derive(BotCommands)
2022-10-05 10:11:50 +04:00
Maybe Waffle
8dfb5268be
Make BotCommands::parse
accept bot username as &str
2022-10-05 10:09:55 +04:00
Hirrolot
bc609ba9b3
Update the docs of BotCommands
2022-10-04 11:13:03 +06:00
Hirrolot
5922984f6c
Reorder parameters in the examples
...
In reordering the parameters, I stick the following principle: place parameters from least changing to most changing. Thus, we have config and bot right from the beginning, next a dialogue with a possible payload, and next updates such as messages, inline queries, etc. This principle is used in languages with a native support for currying, although in Rust people appear to order parameters arbitrarily, so this commit is mostly for the sake of consistency.
2022-10-03 17:54:06 +06:00
Hirrolot
333c88fcb7
Merge branch 'dev' into concrete-error-type-repls
2022-10-02 21:47:46 +06:00
Hirrolot
cde6827cee
Use RequestError
in REPLs
2022-10-02 21:44:04 +06:00
Hirrolot
df58faab97
More #[must_use]
functions.
2022-10-02 10:15:20 +06:00
Maybe Waffle
044e87a985
Remove some previously deprecated items
2022-10-02 00:34:29 +04:00
Hirrolot
94e6f0bd4d
Collapse and show the endpoints in the docs
...
If we remove empty lines between these endpoints, we'll make the code shorter. Additionally, since we do no longer need `AutoSend`, the code is also a bit less convoluted.
2022-09-29 09:42:50 +06:00
Hirrolot
00efbe163a
Stop using AutoSend
in the examples and docs
2022-09-29 09:37:20 +06:00
Maybe Waffle
bde0345e17
Update docs of REPLs
2022-09-09 23:54:52 +04:00
Maybe Waffle
0807eb57e1
Improve StopFlag
's implementation
2022-09-09 21:45:59 +04:00
Maybe Waffle
9527f82608
Replace StopToken
trait with a single type
2022-09-09 21:30:08 +04:00
Maybe Waffle
11fe8baebf
Correct a comment
2022-09-05 18:56:24 +04:00
Maybe Waffle
8917e05bf8
Turn UpdateListener
's generic error into an associated type
2022-09-05 18:56:15 +04:00
Hirrolot
d0add19b29
Avoid ending punctuation in short list items
2022-08-20 16:16:08 +06:00
Hirrolot
fde52b3988
Merge pull request #690 from teloxide/repls-dispatching-doc
...
Explain the difference between REPLs and dispatching
2022-07-25 18:24:36 +06:00
Waffle Maybe
acd3f4f9a2
Merge pull request #693 from teloxide/nicer_filter_ext_docs
...
Make filter ext docs a little bit nicer
2022-07-25 11:08:20 +04:00
Maybe Waffle
62cbda51d2
Make filter ext docs a little bit nicer
2022-07-24 19:46:48 +04:00
Hirrolot
c7af38ebe3
Merge pull request #691 from teloxide/hide-huge-doc
...
Hide the definitions of endpoints in the doc
2022-07-24 21:23:06 +06:00
Maybe Waffle
1942b8f49b
Improve link formatting
2022-07-24 19:11:57 +04:00
Hirrolot
3f546fd637
Merge branch 'repls-dispatching-doc' of https://github.com/teloxide/teloxide into repls-dispatching-doc
2022-07-24 19:41:30 +06:00
Hirrolot
0f526ebe99
Simplify the doc sentence (code review)
2022-07-24 19:40:35 +06:00
Hirrolot
ab0292649f
Apply a tiny doc review suggestion
...
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
2022-07-24 19:32:09 +06:00