Commit graph

486 commits

Author SHA1 Message Date
Maybe Waffle
2bd19a598e Add User::is_anonymous and User::is_channel functions
Also add documentation for `User::{full_name, mention, url}`
2021-12-25 04:12:59 +03:00
Hirrolot
a07c9b0431
Merge pull request #149 from teloxide/remove-authors
Remove the `authors` field from `Cargo.toml`
2021-12-23 16:42:54 +06:00
Hirrolot
a976bd8a33 Remove the authors field from Cargo.toml 2021-12-23 16:35:53 +06:00
Waffle Maybe
a357501772
Merge pull request #147 from teloxide/venue_deserialization
Fix deserialization of `MediaKind::Venue`
2021-12-19 18:56:14 +03:00
Maybe Waffle
3f2d69702f Update changelog and add regression test for issue 481 2021-12-19 18:52:03 +03:00
Maybe Waffle
1e0b8b6734 Fix deserialization of MediaKind::Venue 2021-12-19 18:38:47 +03:00
Waffle Maybe
92070cf22f
Merge pull request #145 from SpriteOvO/fix-entity-pre
Skip the `language` field of `MessageEntityKind::Pre` if it is `None`
2021-12-19 16:52:48 +03:00
Sprite
234ac365db Update changelog and comment the PR link in the test 2021-12-19 21:26:39 +08:00
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