Commit graph

678 commits

Author SHA1 Message Date
Sprite
06a21ba9e1 Skip the language field of MessageEntityKind::Pre if it is None 2021-12-19 21:25:51 +08:00
Waffle Maybe
fd4796deaf
Merge pull request #146 from teloxide/pin_tooling
pin tooling
2021-12-19 15:06:52 +03:00
Maybe Waffle
40a5860085 Suppress clippy 2021-12-19 14:56:20 +03:00
Maybe Waffle
59fc8709cd Pin tooling in the CI to a specific version
Both Clippy and Rustfmt are pinned to the current latest version (2021-10-19).

A `rust-toolchain.toml` file is also created, so the contributors also
have the same version.
2021-12-19 14:42:19 +03:00
Hirrolot
22de637798
Merge pull request #143 from teloxide/api55
TBA 5.5
2021-12-19 17:16:45 +06:00
Hirrolot
0c548a6414
Merge pull request #144 from teloxide/fix_supergroup_migration_deserialization
Fix deserialization of chat migrations
2021-12-19 17:15:54 +06:00
Maybe Waffle
ef0d2d3aea fix clippy
Use chars, instead of strings when using `str::replace` in tests.
2021-12-10 17:19:43 +03:00
Maybe Waffle
f42c1a6098 Fix deserialization of chat migrations 2021-12-10 17:00:49 +03:00
Maybe Waffle
6c1c585733 Update changelog 2021-12-10 16:02:28 +03:00
Maybe Waffle
df5487a04b fix clippy
Use chars, instead of strings when using `str::replace` in tests.
2021-12-09 14:54:21 +03:00
Maybe Waffle
604a5cc91b TBA 5.5 types updates 2021-12-09 14:54:21 +03:00
Maybe Waffle
c566494b7d Add TBA v5.5 methods 2021-12-09 14:54:07 +03:00
Hirrolot
e53d51ade4
Merge pull request #142 from teloxide/reruncodegen
re-run payloads codegen
2021-12-09 16:58:38 +06:00
Maybe Waffle
560fa36e41 re-run payloads codegen 2021-12-07 01:31:49 +03:00
Waffle Maybe
e3a0087644
Merge pull request #140 from SpriteOvO/master
Add the missing method `caption_entities` to `InputMediaPhoto`
2021-12-07 01:08:42 +03:00
Waffle Maybe
f116039876
Merge pull request #141 from SpriteOvO/fix-copy-message
Fix the incorrect response type of `CopyMessage` method
2021-12-07 00:28:25 +03:00
Sprite
7a65d52fb7 Update changelog 2021-12-07 04:13:58 +08:00
Sprite
a5a1277636 Fix the incorrect response type of CopyMessage method 2021-12-07 04:13:52 +08:00
Sprite
a33588a14b Update changelog 2021-11-28 02:33:33 +08:00
Sprite
0724964682 Add the missing method caption_entities to InputMediaPhoto 2021-11-28 02:21:46 +08:00
Waffle Maybe
b01655044f
Merge pull request #139 from SpriteOvO/master
Add the missing field `media_group_id` to `MediaDocument` & `MediaAudio`
2021-11-27 14:19:35 +03:00
Sprite
30154f6fba Update changelog 2021-11-27 17:50:03 +08:00
Sprite
abfd92a102 Add the missing field media_group_id to MediaDocument & MediaAudio 2021-11-27 17:11:18 +08:00
Waffle Maybe
bbd92a004c
Merge pull request #138 from teloxide/warn_pring_dbg
Enable clippy to warn on dbg/print usage
2021-11-25 13:04:25 +03:00
Maybe Waffle
fc0dc9b2b9 Enable clippy to warn on dbg/print usage
Also remove old #![allow] that was used to supress clippy bug.
2021-11-25 13:01:21 +03:00
Hirrolot
5c1774b69b
Merge pull request #137 from teloxide/fix_message_entity_serialization
Fix message entity serialization
2021-11-24 18:36:51 +06:00
Maybe Waffle
b34b4369c7 Update changelog 2021-11-20 19:50:57 +03:00
Maybe Waffle
c4b148459d Add regression test for issue 473 2021-11-20 19:50:15 +03:00
Maybe Waffle
3ccf624168 Fix multipart MessageEntity serialization 2021-11-20 19:50:15 +03:00
Waffle Maybe
407fbe0214
Merge pull request #133 from teloxide/api-5.4
TBA 5.4 and schema updates
2021-11-15 01:51:06 +03:00
Maybe Waffle
706bd08c6b Fix docs 2021-11-15 01:47:54 +03:00
Maybe Waffle
45183d4dcd fix test 2021-11-15 01:47:54 +03:00
Maybe Waffle
ca69b6385c Update changelog 2021-11-15 01:47:53 +03:00
Maybe Waffle
8002f98ef7 Add TBA 5.4 types 2021-11-15 01:46:53 +03:00
Maybe Waffle
094211e6a1 Add TBA v5.4 methods and params
(schema update)
2021-11-15 01:46:53 +03:00
Maybe Waffle
9fb6c20f23 Make SendPoll::type_ optional
(fix from schema)
2021-11-15 01:46:53 +03:00
Maybe Waffle
9bcdd37be0 Remove PartialEq, Eq, Hash derives from InputFile
...and tg-method-structs holding it
2021-11-15 01:46:53 +03:00
Hirrolot
6aed69e276
Merge pull request #136 from teloxide/fix_pr_conflict
Fix conflict between PRs
2021-11-14 00:11:32 +06:00
Maybe Waffle
af54d6db7a Fix conflict between PRs 134 and 135 2021-11-13 20:16:13 +03:00
Hirrolot
461d882bc1
Merge pull request #134 from teloxide/errfactor
Refactor errors
2021-11-13 19:09:22 +06:00
Hirrolot
6e920e1d88
Merge pull request #135 from teloxide/too_much_results
Add `ApiError::TooMuchInlineQueryResults`
2021-11-13 19:07:46 +06:00
Maybe Waffle
8d1dd8d444 Add ApiError::TooMuchInlineQueryResults 2021-11-09 21:16:56 +03:00
Maybe Waffle
27e1b90c6e Refactor errors 2021-11-08 00:02:17 +03:00
Waffle Maybe
00abf2fd80
Merge pull request #131 from berkus/fix/add-derive-debug
fix: Add missing derive(Debug) on adapters
2021-11-07 13:27:13 +03:00
Berkus Decker
f868152e2f fix: Add missing derive(Debug) on adapters 2021-11-07 12:22:05 +02:00
Waffle Maybe
839181bffd
Merge pull request #127 from teloxide/must_use_requests
Add `#[must_use]` attrs to payload setters, request wrappers and send* methods
2021-10-24 23:10:25 +03:00
Hirrolot
3a91ae3c3a
Merge pull request #129 from msrd0/chrono-no-default-features
Disable default features of chrono
2021-10-24 23:48:52 +06:00
Dominic
1d9811918b
disable default features of chrono 2021-10-23 17:36:42 +02:00
Hirrolot
8ee25a616c
Merge pull request #128 from teloxide/inline_methods_fix
Fix `*_inline` methods (release v0.3.4)
2021-10-18 18:04:13 +06:00
Maybe Waffle
bd8bafd03b Fix *_inline methods (release v0.3.4) 2021-10-18 13:47:02 +03:00