Commit graph

4062 commits

Author SHA1 Message Date
Maybe Waffle
57d08938e4 Update changelog 2022-10-01 17:08:27 +04:00
Maybe Waffle
0f08fd6cdb fmt? 2022-10-01 17:07:32 +04:00
Maybe Waffle
13e5ed8fb4 Fix MessageId deserialization 2022-10-01 17:07:32 +04:00
Maybe Waffle
f5a3b55435 Use typed MessageId in methods 2022-10-01 17:07:28 +04:00
Maybe Waffle
1b9092c704 Start using MessageId in APIs 2022-10-01 17:06:19 +04:00
Waffle Maybe
cb00c83ecd Merge pull request #719 from teloxide/update-readme
Update the number of repos dependant on teloxide

Former-commit-id: de3429d082
2022-10-01 17:00:42 +04:00
Hirrolot
8bb502d91c Update the number of repos dependant on teloxide
Former-commit-id: d1bef5112e
2022-10-01 17:11:15 +06:00
Waffle Maybe
7a31bcea91
Merge pull request #251 from teloxide/botapi62
Bot API 6.2 support
2022-10-01 15:09:52 +04:00
Waffle Maybe
021ad7b6cb
Merge pull request #252 from teloxide/webm_sticker_fix
Fix serialization of video stickers
2022-10-01 15:09:04 +04:00
Waffle Maybe
a304ea4174
Merge pull request #253 from teloxide/flatten_meta
Replace `file_{[unique_]id,size}` fields with `FileMeta`
2022-10-01 15:08:39 +04:00
Maybe Waffle
35cc2d1b2b COpy some code style rules from r-a
Former-commit-id: 562f047902
2022-09-29 19:17:16 +04:00
Maybe Waffle
bb4abf6d98 Codify &str -> String conversions in code style
Former-commit-id: 5e87accfc7
2022-09-29 19:05:31 +04:00
Maybe Waffle
45c1324cb3 Improve readability of CODE_STYLE.md
Former-commit-id: 36f0226751
2022-09-29 19:01:03 +04:00
Maybe Waffle
534d478973 Remove the authors field from Cargo.toml 2022-09-29 14:11:51 +04:00
Maybe Waffle
cd10ef00d4 Replace file_{[unique_]id,size} fields with FileMeta 2022-09-29 13:22:38 +04:00
Maybe Waffle
c640177c20 supress clippy 2022-09-29 13:15:01 +04:00
Hirrolot
4b1a309621 Merge pull request #716 from teloxide/update-auto-send
Stop using `AutoSend` in the examples and docs

Former-commit-id: 305fddd7e9
2022-09-29 14:43:32 +06:00
Hirrolot
0285d5d38b Update MSRV to 1.64.0 (CI)
Former-commit-id: 1796e2c9f1
2022-09-29 09:51:56 +06:00
Hirrolot
bd78a3bf70 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.


Former-commit-id: 94e6f0bd4d
2022-09-29 09:42:50 +06:00
Hirrolot
05501015ee Stop using AutoSend in the examples and docs
Former-commit-id: 00efbe163a
2022-09-29 09:37:20 +06:00
Maybe Waffle
a5f2e5984c update changelog and docs 2022-09-25 21:41:43 +04:00
Maybe Waffle
8cad09498c Fix sticker tests 2022-09-25 21:41:43 +04:00
Maybe Waffle
7550af9a25 Fix sticker_type param serialization 2022-09-25 21:41:43 +04:00
Maybe Waffle
967da8fd9e TBA 6.2 methods 2022-09-25 21:15:46 +04:00
Maybe Waffle
a75c645c68 Allow codegen to create new files 2022-09-25 21:15:46 +04:00
Maybe Waffle
26ec8b0c7b Refactor stickers 2022-09-25 21:15:46 +04:00
Maybe Waffle
c544dae94c TBA 6.2: Chat and MessageEntity changes 2022-09-25 21:15:46 +04:00
Maybe Waffle
9126c7db3a Fix serialization of video stickers 2022-09-25 21:15:11 +04:00
Waffle Maybe
2e3d678987 Merge pull request #709 from teloxide/stop_refactor
Refactor `stop_token` module

Former-commit-id: 8272d4139a
2022-09-25 05:24:06 +04:00
Waffle Maybe
00165e64dc
Merge pull request #250 from teloxide/fix_set_webhook_again
Fix `SetWebhook` request: make it multipart
2022-09-25 05:23:06 +04:00
Hirrolot
3d1cb9c665
Merge branch 'master' into fix_set_webhook_again 2022-09-25 07:19:01 +06:00
Waffle Maybe
2b8c0d7a79
Merge pull request #247 from teloxide/button_request_docs
Write documentation for `ButtonRequest`
2022-09-25 05:18:05 +04:00
Waffle Maybe
3a97c08c0e Merge pull request #715 from teloxide/heroku_no_token_in_url
Remove `{token}` from webhook url in heroku example

Former-commit-id: 0bde3f4b38
2022-09-25 05:01:28 +04:00
Maybe Waffle
f2c50b7dba Remove {token} from webhook url in heroku example
Former-commit-id: 78a96381dc
2022-09-25 01:06:11 +04:00
Waffle Maybe
8f7d27b8c1
Merge pull request #249 from teloxide/into_future
Allow `.await`ing arbitrary requests!
2022-09-24 23:56:55 +04:00
Hirrolot
1af8b0f904 Merge pull request #713 from teloxide/improve_buttons_example2
Properly handle callback queries in `examples/buttons.rs`

Former-commit-id: be9c20ef32
2022-09-25 01:54:54 +06:00
Maybe Waffle
995a482f81 silence clippy 2022-09-23 22:59:04 +04:00
Maybe Waffle
28deda130e fmt (I am a joke) 2022-09-23 22:48:24 +04:00
Maybe Waffle
2a20fdd1c0 fix doc tests 2022-09-23 22:42:53 +04:00
Maybe Waffle
86cac381e7 Use correct toolchain for codegen 2022-09-23 19:06:11 +04:00
Maybe Waffle
5d65c11922 Fix SetWebhook request: make it multipart 2022-09-23 19:02:05 +04:00
Maybe Waffle
02e34bc77a fix MSRV in docs 2022-09-23 18:58:02 +04:00
Maybe Waffle
bd522b70f1 fix CI 2022-09-23 18:56:58 +04:00
Maybe Waffle
c96e46dc6c fmt
I'm too lazy to amend commits...
2022-09-23 18:46:06 +04:00
Maybe Waffle
0dc459ffcc Doc fixes 2022-09-23 18:46:06 +04:00
Maybe Waffle
69adf7ef10 Update changelog 2022-09-23 18:20:32 +04:00
Maybe Waffle
6d79d78c8c Update pin-project
(this fixes a `dead_code` warning in generated code)
2022-09-23 18:14:58 +04:00
Maybe Waffle
d541faa621 Deprecate AutoSend 2022-09-23 18:14:49 +04:00
Maybe Waffle
fe88ba2949 Use IntoFuture for requests 2022-09-23 17:33:22 +04:00
Maybe Waffle
2df66b62b7 Update MSRV/toolchain versions 2022-09-23 14:20:57 +04:00