diff --git a/crates/teloxide-core/CHANGELOG.md b/crates/teloxide-core/CHANGELOG.md index d6f61e34..7690b087 100644 --- a/crates/teloxide-core/CHANGELOG.md +++ b/crates/teloxide-core/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `mentioned_users` functions for `CallbackQuery`, `Chat`, `ChatJoinRequest`, `ChatMemberUpdated`, `Game`, `Message`, `Poll`, `Update` which return all contained `User` instances ([#850][pr850]) - `Message::video_chat_participants_invited` ([#850][pr850]) - `Update::from`, a replacement for `Update::user` ([#850][pr850]) +- `Seconds` type, which represents a duration is seconds ([#859][pr859]) [pr851]: https://github.com/teloxide/teloxide/pull/851 @@ -20,8 +21,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Types of `Option` fields of `KeyboardMarkup`, `KeyboardRemove` and `ForceReply` to `bool` ([#853][pr853]) - Type of `KeyboardMarkup::input_field_placeholder`: `Option` => `String` ([#853][pr853]) +- Some fields now use `Seconds` type instead of `u32` or `Duration` ([#859][pr859]) +- `RequestError::MigrateToChatId` single fields type to `ChatId` ([#859][pr859]) +- `RequestError::RetryAfter` single fields type to `Seconds` ([#859][pr859]) [pr852]: https://github.com/teloxide/teloxide/pull/853 +[pr859]: https://github.com/teloxide/teloxide/pull/859 ### Deprecated