Commit graph

4112 commits

Author SHA1 Message Date
Hirrolot
46c7f21988
Merge pull request #28 from teloxide/v0.6.3
Release v0.6.3
2022-07-19 21:58:35 +06:00
Hirrolot
21a157347d Release v0.6.3 2022-07-19 21:56:59 +06:00
Waffle Maybe
4274eeeba9
Merge pull request #27 from teloxide/fix-parse-with-path
Allow specifying a path to a command handler in `parse_with`
2022-07-19 19:55:45 +04:00
Hirrolot
ad87f6e63c Test teloxide-macros with a parse_with bug fix
Former-commit-id: 78afa99b79
2022-07-19 21:47:09 +06:00
Hirrolot
44d91c56c4 Update CHANGELOG.md 2022-07-19 21:19:34 +06:00
Hirrolot
84f3bee764 Fix Clippy 2022-07-19 21:16:08 +06:00
Hirrolot
bde8222e5a Allow specifying a path as a parse_with argument 2022-07-19 21:06:56 +06:00
Hirrolot
f2cf85d9ce Leave teloxide-core and dptree as GitHub deps (dev)
Former-commit-id: d6d819afb8
2022-07-19 20:16:08 +06:00
Waffle Maybe
6c0e7f814f use different quotes?...
Former-commit-id: d9a7c265f9
2022-07-19 18:12:45 +04:00
Waffle Maybe
a27799e098 attempt to fix ci
Former-commit-id: 9f1d0d7dd8
2022-07-19 18:01:25 +04:00
Hirrolot
6c7f17b070 Retain consistency in CHANGELOG.md
Former-commit-id: 82c7923dea
2022-07-19 19:43:02 +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
Hirrolot
4262175be2 Remove commented dependencies in Cargo.toml
Former-commit-id: ce40f04ebd
2022-07-19 19:34:14 +06:00
Maybe Waffle
1b2b1ee30c update faq
Former-commit-id: 4af32d21eb
2022-07-19 14:54:01 +04:00
Maybe Waffle
a7eff7192b bump version
Former-commit-id: 6996c7ff87
2022-07-19 14:53:42 +04:00
Maybe Waffle
cc74e7517d Update deps
Former-commit-id: ed88e43afa
2022-07-19 14:30:18 +04:00
Hirrolot
5a2bf5e1d9
Merge pull request #240 from teloxide/fixup
fixup
2022-07-19 16:13:03 +06:00
Maybe Waffle
69f7a8b434 fixup serde_with_macros version 2022-07-19 14:06:51 +04:00
Hirrolot
2013940c64
Merge pull request #239 from teloxide/bump07
Bump verson to `0.7`
2022-07-19 15:59:15 +06:00
Maybe Waffle
79257fe91d bump version 2022-07-19 13:53:17 +04:00
Maybe Waffle
c9f0406e34 update dependencies 2022-07-19 13:51:51 +04:00
Waffle Maybe
9395f17988
Merge pull request #237 from teloxide/file_meta_meta
Properly fix file size/path
2022-07-19 07:15:43 +04:00
Waffle Maybe
8ccc4449a9
Merge pull request #238 from teloxide/sticker_kind
Add `StickerKind`
2022-07-19 07:14:04 +04:00
Maybe Waffle
8b4ac2260b Add StickerKind 2022-07-18 18:55:05 +04:00
Maybe Waffle
9b0104dade Properly fix file size/path 2022-07-18 18:01:40 +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
Waffle Maybe
585ba1cd08
Merge pull request #236 from teloxide/fixme
remove a fixme
2022-07-11 17:21:18 +04:00
Maybe Waffle
34aff5f4c5 remove a fixme 2022-07-11 12:28:24 +04:00
Hirrolot
1bf1410337 Merge pull request #675 from raine/dev
Add tgreddit to Community Bots

Former-commit-id: aa43175c46
2022-07-08 02:16:21 +06:00
Raine Virta
651526f2c0 Add tgreddit to Community Bots
Former-commit-id: 9fc68dc73f
2022-07-07 22:05:31 +02:00
Waffle Maybe
e590736585 Merge pull request #662 from teloxide/polling_builder
Add `PollingBuilder` & friends

Former-commit-id: 3d4d506203
2022-07-05 00:20:54 +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
a07af45ec7 Update changelog
Former-commit-id: 4f2e723d56
2022-07-05 00:04:43 +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