Commit graph

4050 commits

Author SHA1 Message Date
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
Waffle Maybe
40e9a13d22
Merge pull request #246 from teloxide/remove_inline_query_methods
Remove methods for creating `InlineQuery`
2022-09-21 16:01:12 +04:00
Waffle Maybe
f83512c5a4
Merge pull request #243 from teloxide/in-tree-code-gen
Implement in-tree codegen
2022-09-21 14:33:51 +04:00
Maybe Waffle
d4ababf99f fix CI 2022-09-18 18:44:29 +04:00
Maybe Waffle
c854081dce make clippy happy
/I wish someone made *me* happy/
2022-09-15 22:31:22 +04:00
Maybe Waffle
b8dc2c7b31 Implement in-tree codegen 2022-09-15 22:31:17 +04:00
Maybe Waffle
353d7d6b06 Write documentation for ButtonRequest 2022-09-12 17:26:01 +04:00
Maybe Waffle
9131ccd6e5 Remove methods for creating InlineQuery 2022-09-12 16:57:19 +04:00
Maybe Waffle
f10bb5c3e0 Properly handle callback queries in examples/buttons.rs
Former-commit-id: 376ffc85f9
2022-09-12 16:50:59 +04:00
Waffle Maybe
a76b5d8a01 Merge pull request #710 from teloxide/updnght
Update nightly version in CI

Former-commit-id: ececfaf62b
2022-09-11 22:56:42 +04:00
Maybe Waffle
599d4dea25 Update docs of REPLs
Former-commit-id: bde0345e17
2022-09-09 23:54:52 +04:00
Maybe Waffle
49179dd274 Update nightly version in CI
Former-commit-id: 721908c08e
2022-09-09 21:59:11 +04:00
Maybe Waffle
1fad4ab3b3 Improve StopFlag's implementation
Former-commit-id: 0807eb57e1
2022-09-09 21:45:59 +04:00