Commit graph

2774 commits

Author SHA1 Message Date
Hirrolot
aa43175c46
Merge pull request #675 from raine/dev
Add tgreddit to Community Bots
2022-07-08 02:16:21 +06:00
Raine Virta
9fc68dc73f Add tgreddit to Community Bots 2022-07-07 22:05:31 +02:00
Waffle Maybe
3d4d506203
Merge pull request #662 from teloxide/polling_builder
Add `PollingBuilder` & friends
2022-07-05 00:20:54 +04:00
Maybe Waffle
cd63dbf1e7 Make fields of PollingBuilder public 2022-07-05 00:07:15 +04:00
Maybe Waffle
430df0cefb Mark Polling and PollingBuilder as must_use 2022-07-05 00:05:29 +04:00
Maybe Waffle
08da55f54f When creating Polling assert that it's an UpdateListener 2022-07-05 00:05:29 +04:00
Maybe Waffle
ee52bb28b4 Fix docs 2022-07-05 00:05:29 +04:00
Maybe Waffle
79f6cf4ee9 Move polling_builder => Polling::builder 2022-07-05 00:05:27 +04:00
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