Commit graph

71 commits

Author SHA1 Message Date
Maybe Waffle
b7c34f8bdb Fix & test rgb deserialization 2023-02-15 16:58:33 +04:00
Waffle Maybe
758687a63e
Merge pull request #852 from teloxide/—alloc
Remove a useless allocation when attaching files
2023-02-15 12:21:12 +00:00
Sima Kinsart
42514e93db
Merge pull request #826 from teloxide/better_error_workaround
Rewrite hacks for reliable `Update` deserialization
2023-02-15 12:01:18 +00:00
Maybe Waffle
ef49094d28 Remove a useless allocation when attaching files 2023-02-13 22:13:59 +04:00
Boyd Kane
f5ff145a7c
Add docstring to Message::from 2023-02-08 10:50:28 +02:00
Maybe Waffle
74e32a725d Add tests for response processing 2023-02-06 12:20:51 +04:00
Maybe Waffle
2221116d9c Actually provide meaningful errors 2023-02-06 12:20:51 +04:00
Maybe Waffle
cbbfc5b3d1 Rewrite hacks for reliable Update deserialization 2023-02-06 12:20:46 +04:00
Sima Kinsart
6909353500
Merge pull request #835 from teloxide/sync-update-kinds
Synchronize places that use update kinds
2023-02-05 13:16:31 +06:00
Waffle Maybe
fb48943871
Merge pull request #836 from teloxide/multiversion
Automatically use `path` versions for development
2023-02-04 03:52:35 +04:00
Maybe Waffle
8e435c9e7f Add a reminder to update teloxide's Cargo.toml when adding features to core 2023-02-03 17:12:57 +04:00
Maybe Waffle
fc2b873c94 Fix deserialization of invalid token error 2023-02-03 16:59:39 +04:00
Maybe Waffle
1974341dbd Update changelogs 2023-02-03 16:53:36 +04:00
Maybe Waffle
8baf8af8c1 Document Update::{user, chat} 2023-02-03 16:41:14 +04:00
Maybe Waffle
b5bd147c7c Fix Update::user (return Some on some forgotten variants)
The following update types now are handled in `Update::user`:
- chat join requests
- chat members
- channel post
2023-02-03 16:36:01 +04:00
Maybe Waffle
e97ac18060 Add notes reminding to update places after updating updates 2023-02-03 16:11:20 +04:00
Waffle Maybe
6c6ae76dec
Merge pull request #825 from teloxide/image_process_failed_error
Add `ApiError::ImageProcessFailed`
2023-02-03 14:19:07 +04:00
Maybe Waffle
2ea918e050 fix fmt 2023-02-01 17:14:49 +04:00
Summer Gram
932bfa64fe
Add ApiError::RequestEntityTooLarge
Occurs when bot tries to upload a file which is larger than 50 MB using multipart/form-data.
2023-01-31 22:49:11 +08:00
Maybe Waffle
da91cc4689 Add ApiError::ImageProcessFailed 2023-01-31 12:14:22 +04:00
Maybe Waffle
11defdcffb Remove 6-th keyword from teloxide-core's Cargo.toml 2023-01-17 22:35:47 +04:00
Maybe Waffle
dde56e5fae Prepare for the release of teloxide-core 2023-01-17 20:29:41 +04:00
Maybe Waffle
b626b3240c Fix docs 2023-01-14 20:51:20 +04:00
Maybe Waffle
950a594e78 Update supported TBA version in docs 2023-01-14 20:50:58 +04:00
Maybe Waffle
428285ef8e Add a FIXME concerning message getters 2023-01-14 20:22:24 +04:00
Maybe Waffle
7c2cf65988 fix a link in schema 2023-01-14 20:20:32 +04:00
Maybe Waffle
be7b259adf Fix ...Forum... messages deserialization 2023-01-14 20:18:09 +04:00
Maybe Waffle
f624b9a996 TBA 6.4 methods 2023-01-14 20:17:14 +04:00
Maybe Waffle
e86184fcd0 FIX codegen, again 2023-01-14 18:46:53 +04:00
Maybe Waffle
01bc5a990b ty fixes 2023-01-14 18:39:13 +04:00
Maybe Waffle
f5afbf2188 doc fix 2023-01-14 18:23:13 +04:00
Maybe Waffle
58fafd4280 TBA 6.4 type changes 2023-01-14 18:21:28 +04:00
Maybe Waffle
644bd6e7f4 fixup supported TBA version in docs 2023-01-14 17:19:34 +04:00
Waffle Maybe
c5cb33c242
Merge pull request #800 from Veetaha/feat/chat-member-overhaul
Overhaul `teloxide_core::types::chat_member` module
2023-01-13 10:58:29 +04:00
Veetaha
93dd8eb650 Fix and improve the changelog according to review feedback 2023-01-13 01:22:34 +01:00
Veetaha
52666265c1 Replaced issue reference with full URL 2022-12-29 19:03:34 +01:00
Waffle Maybe
b826c3a34b
Merge pull request #804 from teloxide/docccc
Fix documentation build
2022-12-29 14:09:25 +04:00
Maybe Waffle
bcac39a276 Fix clippy 2022-12-29 04:04:50 +04:00
Maybe Waffle
e4fba3345f suppress rustdoc warning about "<bot" in payload docs 2022-12-29 04:04:50 +04:00
Maybe Waffle
4cae2c93cb Use new format! syntax where possible
(fix clippy)
2022-12-29 04:04:50 +04:00
Maybe Waffle
867adbb20b Update scrape examples options 2022-12-29 00:31:17 +04:00
Maybe Waffle
0253979e36 update rust version 2022-12-28 23:16:00 +04:00
Veetaha
36d4ecc884 Improve changelog 2022-12-27 19:59:42 +01:00
Veetaha
c677da42ad Add changelog entries 2022-12-27 19:51:02 +01:00
Veetaha
36da9f1ed9 Overhaul teloxide_core::types::chat_member module 2022-12-27 19:41:34 +01:00
Waffle Maybe
62ff003720
Merge pull request #789 from teloxide/tba63
TBA 6.3
2022-12-17 01:07:58 +04:00
Sima Kinsart
bb6dd81f6a
Merge branch 'dev' into const-must-use 2022-12-09 19:17:55 +06:00
Maybe Waffle
7ea428a21c Properly gate tests, so that cargo test works with any features 2022-12-06 16:06:35 +04:00
Maybe Waffle
a9a2610a03 *actually* fix codegen 2022-12-05 23:36:41 +04:00
Maybe Waffle
0dd44fe739 TBA 6.3: methods 2022-12-05 19:25:11 +04:00