Commit graph

2816 commits

Author SHA1 Message Date
Maybe Waffle
195d34ba0c Correct deprecated since version 2022-07-05 00:04:47 +04:00
Maybe Waffle
4f2e723d56 Update changelog 2022-07-05 00:04:43 +04:00
Maybe Waffle
b29d60657f Panic for limit=0 2022-07-05 00:04:26 +04:00
Maybe Waffle
612f47d242 Add option to drop pending updates w/ polling 2022-07-05 00:04:26 +04:00
Maybe Waffle
58bbf8e737 Remove useless use 2022-07-05 00:04:26 +04:00
Maybe Waffle
e0e5da30ba Deprecate polling(), expose Polling{,Builder} and fix docs 2022-07-05 00:04:26 +04:00
Maybe Waffle
db417caa52 Return named Polling<_> type from polling* functions
This replaces the `impl UpdateListener<R::Err>` and makes using polling
nicer.
2022-07-05 00:04:26 +04:00
Maybe Waffle
82fc756aab Implement polling stream by hand
IMO it's actually clearer & nicer than the old impl. +The types are now
nameable.
2022-07-05 00:04:26 +04:00
Maybe Waffle
6729c965fa Add polling builder 2022-07-05 00:04:26 +04:00
Waffle Maybe
c4c3acf742
Merge pull request #671 from teloxide/webhooks_secret_token
Add support for `secret_token` for built-in webhooks
2022-07-05 00:03:13 +04:00
Maybe Waffle
b849067378 Remove useless comments 2022-07-04 23:58:46 +04:00
Maybe Waffle
db59b47674 Mark webhooks::Options as #[must_use] 2022-07-04 23:52:59 +04:00
Hirrolot
9290665d04
Merge pull request #669 from teloxide/use-default-enum-variant
Use `#[default]` for `State::Start` in dialogues
2022-07-04 21:59:34 +06:00
Hirrolot
14e9fd2197 Use #[default] for State::Start in dialogues 2022-07-04 21:47:57 +06:00
Waffle Maybe
68f9ccfcb1
Merge pull request #673 from teloxide/actually-dont-build-examples-with-msrv-on-ci
**Actually** don't build examples with MSRV on CI
2022-07-04 19:42:49 +04:00
Waffle Maybe
7a8e1e0e3d
**Actually** don't build examples with MSRV on CI
:|
2022-07-04 19:34:11 +04:00
Maybe Waffle
e8ce86df8b Clippy :| 2022-07-03 22:49:15 +04:00
Maybe Waffle
88ddf7f7a2 Update changelog 2022-07-03 22:49:15 +04:00
Maybe Waffle
1458e40b45 Document webhook* features 2022-07-03 22:49:15 +04:00
Maybe Waffle
dc9dc8cd13 Reorder features in features.md 2022-07-03 22:49:15 +04:00
Maybe Waffle
4edd41fd58 Reformat features file 2022-07-03 22:49:15 +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
Waffle Maybe
2a58244ee5
Merge pull request #672 from teloxide/improve-ci
improve ci
2022-07-03 21:52:44 +04:00
Maybe Waffle
cabc045c06 fix doctest 2022-07-03 15:21:17 +04:00
Maybe Waffle
77d1c4524d Don't build examples when testing on CI 2022-07-03 15:12:18 +04:00
Maybe Waffle
a9886d8419 Improve CI 2022-07-03 15:12:18 +04:00
Maybe Waffle
a4ad44fae9 Change recommended way to build docs 2022-07-03 15:12:18 +04:00
Maybe Waffle
0048370169 Update pinned nightly version 2022-07-03 15:12:18 +04:00
Hirrolot
3b0e3f3a0c
Merge pull request #665 from teloxide/update-shared-state-example
Use the new DI in `examples/shared_state.rs`
2022-06-29 22:38:15 +06:00
Hirrolot
69b5d8b3d5 Make a TODO in place of the dispatching doc example 2022-06-29 21:36:36 +06:00
Waffle Maybe
8c2355a433
Merge pull request #667 from AlecsFerra/patch-1
Update the heroku example to use 0.0.0.0 as ip
2022-06-29 17:24:15 +04:00
Alessio
c95203759a
Update the heroku example to use 0.0.0.0 as ip
On heroku we canno't bind on 127.0.0.1
2022-06-29 15:10:45 +02:00
Hirrolot
a48f6c8a44 Use Arc<AtomicU64> in examples/shared_state.rs 2022-06-29 01:49:49 +06:00
Hirrolot
1c6b35a443
Merge pull request #664 from hugocornago/dev
fix typo
2022-06-27 14:40:02 +06:00
Hugo Cornago
22b554650e fix typo 2022-06-27 10:31:09 +02:00
Waffle Maybe
19eca5d061
Merge pull request #657 from teloxide/gc_for_workers
Add "GC" for dispatcher workers
2022-06-27 02:41:58 +04:00
Hirrolot
3e35d40e84
Update CHANGELOG.md 2022-06-27 02:30:39 +06:00
Hirrolot
f81209397a
Merge pull request #661 from teloxide/fix-gifs-width
Fix GIFs resizing in `README.md`
2022-06-27 02:07:39 +06:00
Maybe Waffle
b45472973c Update changelog 2022-06-27 00:02:27 +04:00
Maybe Waffle
8489464bd3 Apply suggestions from the review 2022-06-27 00:01:31 +04:00
Hirrolot
d232319dfa
Fix GIFs resizing in README.md 2022-06-27 01:57:27 +06:00
Maybe Waffle
a820dedd50 Auto-magically detect how much workers need to be kept alive 2022-06-26 22:53:41 +04:00
Waffle Maybe
38cf5997e1
Merge pull request #656 from 0xNima/dev
update community bots
2022-06-22 13:36:58 +04:00
Hirrolot
ef0b2f2795
Update README.md 2022-06-22 15:26:23 +06:00
Maybe Waffle
9cb7ca9bd3 Add "GC" for dispatcher workers 2022-06-17 23:01:26 +04:00
0xNima
174b64e6f4 update community bots 2022-06-17 18:21:04 +04:30
Waffle Maybe
074fd4e343
Merge pull request #654 from modos189/dev-mybot
Add modos189/tg_blackbox_bot
2022-06-16 23:17:16 +04:00
Alexander Danilov
ecef7ec8cc
Add modos189/tg_blackbox_bot 2022-06-16 21:19:03 +03:00
Waffle Maybe
d2bf4a47ab
Merge pull request #647 from teloxide/use_built_in_webhooks_in_heroku_example
use built-in webhook support in heroku example
2022-06-12 15:25:01 +04:00