Waffle Maybe
2df4dfd61b
Merge pull request #693 from teloxide/nicer_filter_ext_docs
...
Make filter ext docs a little bit nicer
Former-commit-id: acd3f4f9a2
2022-07-25 11:08:20 +04:00
Maybe Waffle
8a92959229
Make filter ext docs a little bit nicer
...
Former-commit-id: 62cbda51d2
2022-07-24 19:46:48 +04:00
Hirrolot
09ca45a67c
Merge pull request #691 from teloxide/hide-huge-doc
...
Hide the definitions of endpoints in the doc
Former-commit-id: c7af38ebe3
2022-07-24 21:23:06 +06:00
Hirrolot
8ebb4826cb
Expand a doc sentence according to code review
...
Former-commit-id: 8eaadf8f94
2022-07-24 19:30:41 +06:00
Hirrolot
e7fb02e8fe
Make dialogue
doc examples verifiable
...
Former-commit-id: 793dbcfcdb
2022-07-24 19:14:22 +06:00
Hirrolot
b8b1cb0496
Hide the definitions of endpoints in the doc
...
Makes scrolling a bit easier.
Former-commit-id: 4e2265a217
2022-07-24 19:03:50 +06:00
Hirrolot
07652a7565
Simplify the implementation of REPLs
...
Former-commit-id: e7ad0e4c80
2022-07-24 14:53:28 +06:00
Maybe Waffle
611a38990e
fix typos
...
Former-commit-id: fd12e1eb06
2022-07-22 15:52:25 +04:00
Maybe Waffle
f12cac7a43
Add more #[must_use]
attributes for appropriate functions
...
Former-commit-id: 52096d269f
2022-07-22 13:53:46 +04:00
Hirrolot
3dd8787f13
Adjust imports a little bit in examples/purchase.rs
...
Former-commit-id: a22c91df6c
2022-07-21 16:53:52 +06:00
Maybe Waffle
e1419f578f
Fix deprecation version
...
Former-commit-id: 0cb4bfef36
2022-07-21 13:35:48 +04:00
Maybe Waffle
04bcce7701
make schema
in docs nicer
...
Former-commit-id: 84beedfff4
2022-07-21 13:32:05 +04:00
Maybe Waffle
a4ecaa03af
Do not ignore
tests in dispatching
...
When test is ignored rustdoc shows a warning sign which is disturbing.
Former-commit-id: 627b8624f3
2022-07-21 13:32:05 +04:00
Maybe Waffle
11231655c2
Move ctrlc handler enable function to DispatcherBuilder
...
This helps with consistency -- every setting is changed in builder.
Also `Self -> Self` function sometimes plays more nicely with borrowck.
Former-commit-id: dd4af30727
2022-07-21 13:32:05 +04:00
Hirrolot
ac3a42ff0a
Link Dispatcher
from the docs of REPLs
...
Former-commit-id: 4fb8a120ea
2022-07-20 19:40:32 +06:00
Hirrolot
d919c99b69
Improve the dispatching explanation (docs)
...
Former-commit-id: 9ab3b3a1c5
2022-07-20 17:44:39 +06:00
Hirrolot
db5747eb4e
Ignore one doc example
...
Former-commit-id: b48f87573a
2022-07-19 19:39:25 +06:00
Hirrolot
411c851a2f
Update the dispatching example explanation
...
Former-commit-id: bc8b86181f
2022-07-19 19:34:35 +06:00
Maybe Waffle
cc74e7517d
Update deps
...
Former-commit-id: ed88e43afa
2022-07-19 14:30:18 +04:00
Maybe Waffle
f6e7c01a45
Update dptree
...
Former-commit-id: eb8b384f46
2022-07-18 15:56:45 +04:00
Maybe Waffle
123c550c6c
Add a test for discussion_648
...
Former-commit-id: 56f8ef90ec
2022-07-18 15:56:25 +04:00
Maybe Waffle
8cecf248b2
Make fields of PollingBuilder
public
...
Former-commit-id: cd63dbf1e7
2022-07-05 00:07:15 +04:00
Maybe Waffle
1ff0440762
Mark Polling
and PollingBuilder
as must_use
...
Former-commit-id: 430df0cefb
2022-07-05 00:05:29 +04:00
Maybe Waffle
f0608da9c3
When creating Polling
assert that it's an UpdateListener
...
Former-commit-id: 08da55f54f
2022-07-05 00:05:29 +04:00
Maybe Waffle
4e5e7a145d
Fix docs
...
Former-commit-id: ee52bb28b4
2022-07-05 00:05:29 +04:00
Maybe Waffle
cce0710c8c
Move polling_builder
=> Polling::builder
...
Former-commit-id: 79f6cf4ee9
2022-07-05 00:05:27 +04:00
Maybe Waffle
79e393c445
Correct deprecated since version
...
Former-commit-id: 195d34ba0c
2022-07-05 00:04:47 +04:00
Maybe Waffle
09d189f689
Panic for limit=0
...
Former-commit-id: b29d60657f
2022-07-05 00:04:26 +04:00
Maybe Waffle
f9da86f881
Add option to drop pending updates w/ polling
...
Former-commit-id: 612f47d242
2022-07-05 00:04:26 +04:00
Maybe Waffle
60fc833108
Remove useless use
...
Former-commit-id: 58bbf8e737
2022-07-05 00:04:26 +04:00
Maybe Waffle
060886737f
Deprecate polling()
, expose Polling{,Builder}
and fix docs
...
Former-commit-id: e0e5da30ba
2022-07-05 00:04:26 +04:00
Maybe Waffle
e51c4c774c
Return named Polling<_>
type from polling* functions
...
This replaces the `impl UpdateListener<R::Err>` and makes using polling
nicer.
Former-commit-id: db417caa52
2022-07-05 00:04:26 +04:00
Maybe Waffle
2ceccdf442
Implement polling stream by hand
...
IMO it's actually clearer & nicer than the old impl. +The types are now
nameable.
Former-commit-id: 82fc756aab
2022-07-05 00:04:26 +04:00
Maybe Waffle
a839b47106
Add polling builder
...
Former-commit-id: 6729c965fa
2022-07-05 00:04:26 +04:00
Waffle Maybe
7046b0d8fb
Merge pull request #671 from teloxide/webhooks_secret_token
...
Add support for `secret_token` for built-in webhooks
Former-commit-id: c4c3acf742
2022-07-05 00:03:13 +04:00
Maybe Waffle
9061d8e347
Remove useless comments
...
Former-commit-id: b849067378
2022-07-04 23:58:46 +04:00
Maybe Waffle
c87b6d4f41
Mark webhooks::Options
as #[must_use]
...
Former-commit-id: db59b47674
2022-07-04 23:52:59 +04:00
Hirrolot
6331fe50cb
Use #[default]
for State::Start
in dialogues
...
Former-commit-id: 14e9fd2197
2022-07-04 21:47:57 +06:00
Maybe Waffle
f46358878b
Clippy :|
...
Former-commit-id: e8ce86df8b
2022-07-03 22:49:15 +04:00
Maybe Waffle
35b800073b
Document webhook* features
...
Former-commit-id: 1458e40b45
2022-07-03 22:49:15 +04:00
Maybe Waffle
aa31cd4caf
Reorder features in features.md
...
Former-commit-id: dc9dc8cd13
2022-07-03 22:49:15 +04:00
Maybe Waffle
653b2119aa
Reformat features file
...
Former-commit-id: 4edd41fd58
2022-07-03 22:49:15 +04:00
Maybe Waffle
1360aa96c3
Add support for secret_token in built-in webhooks
...
Former-commit-id: 8806cb9d78
2022-07-03 22:49:15 +04:00
Maybe Waffle
7f6d2c2801
Update teloxide-core to master
...
Former-commit-id: c129b6a53d
2022-07-03 22:49:15 +04:00
Maybe Waffle
074b991189
fix doctest
...
Former-commit-id: cabc045c06
2022-07-03 15:21:17 +04:00
Maybe Waffle
41197bf515
Change recommended way to build docs
...
Former-commit-id: a4ad44fae9
2022-07-03 15:12:18 +04:00
Hirrolot
d813555459
Make a TODO in place of the dispatching doc example
...
Former-commit-id: 69b5d8b3d5
2022-06-29 21:36:36 +06:00
Hugo Cornago
6fa2818bcd
fix typo
...
Former-commit-id: 22b554650e
2022-06-27 10:31:09 +02:00
Maybe Waffle
98a892e6bd
Apply suggestions from the review
...
Former-commit-id: 8489464bd3
2022-06-27 00:01:31 +04:00
Maybe Waffle
0b307aa177
Auto-magically detect how much workers need to be kept alive
...
Former-commit-id: a820dedd50
2022-06-26 22:53:41 +04:00