Андрей Власов
93690a3417
Fix "no test
in tokio
"
2022-01-02 18:33:15 +03:00
Hirrolot
5ccbf8b7b0
Merge pull request #158 from teloxide/update-license-year-2022
...
Update the license year to 2022
2022-01-02 04:11:14 +07:00
Hirrolot
19bd132075
Update the license year
2022-01-02 02:53:34 +06:00
Hirrolot
fabce50cd3
Merge pull request #157 from teloxide/better_permissions
...
Make `ChatPermissions` into bitflags
2022-01-02 03:03:11 +07:00
Maybe Waffle
ea67c634ad
Fix clippy
2021-12-29 23:15:38 +03:00
Maybe Waffle
5d743f165b
Update changelog
2021-12-29 21:35:43 +03:00
Maybe Waffle
59720c1e0b
Remove get_updates_fault_tolerant
and SemiparsedVec
2021-12-29 21:35:30 +03:00
Maybe Waffle
62e9e8afd4
Make ChatPermissions into bitflags
2021-12-29 20:36:08 +03:00
Maybe Waffle
648b5b7377
Make UpdateKind
deserialization fault tolerant
2021-12-29 18:06:28 +03:00
Waffle Maybe
fd3ef0bdf3
Merge pull request #154 from teloxide/bot_command_scope_fix
...
Fix serialization of `BotCommandScope::Chat{,Administrators}`
2021-12-28 17:07:46 +03:00
Waffle Maybe
1219c8fbe2
Merge pull request #155 from teloxide/not_enough_permissions_error
...
Add `ApiError::NotEnoughRightsToChangeChatPermissions`
2021-12-28 17:07:31 +03:00
Maybe Waffle
f456ab110a
Add ApiError::NotEnoughRightsToChangeChatPermissions
2021-12-28 17:04:19 +03:00
Maybe Waffle
f65617e763
Fix serialization of BotCommandScope::Chat{,Administrators}
2021-12-28 16:09:40 +03:00
Waffle Maybe
5ad920f342
Merge pull request #151 from teloxide/fix_some_message_deserialization_bugs
...
fix some message deserialization bugs
2021-12-28 16:07:38 +03:00
Hirrolot
ff21d876c4
Merge branch 'master' into fix_some_message_deserialization_bugs
2021-12-28 19:49:08 +07:00
Hirrolot
54f4281754
Merge pull request #150 from teloxide/invalid_json_raw
...
Add `RequestError::InvalidJson::raw` field
2021-12-25 14:03:58 +06:00
Waffle Maybe
468b0c9379
Merge pull request #153 from teloxide/more_message_serialization_bug_fixes
...
Fix deserialization of `VoiceChat{Started,Ended}` messages
2021-12-25 11:02:55 +03:00
Waffle Maybe
08e2befd2f
Merge pull request #152 from teloxide/improve_debug_assert
...
Improve `debug_assert!` message in `ChatId::unmark`
2021-12-25 11:02:27 +03:00
Maybe Waffle
9ce53a2b02
Fix deserialization of VoiceChat{Started,Ended}
messages
2021-12-25 04:50:31 +03:00
Maybe Waffle
34647c7a38
Improve debug_assert!
message in ChatId::unmark
2021-12-25 04:34:05 +03:00
Maybe Waffle
078ee1d7ce
Refactor forwarded messages
2021-12-25 04:27:13 +03:00
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
Maybe Waffle
1bcb062d88
Add RequestError::InvalidJson::raw
field
2021-12-24 15:47:54 +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