mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Fix type of PhotoSize::{width,height}
fields: i32
=> u32
This commit is contained in:
parent
44c1cfd420
commit
5ac43d4ac0
2 changed files with 4 additions and 2 deletions
|
@ -52,12 +52,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- `GetChatAdministrators` output type `ChatMember` => `Vec<ChatMember>` ([#73][pr73])
|
||||
- `reqwest` dependency bringing `native-tls` in even when `rustls` was selected ([#71][pr71])
|
||||
- Type of `{Restricted,Kicked}::until_date` fields: `i32` => `i64` ([#74][pr74])
|
||||
- Type of `PhotoSize::{width,height}` fields: `i32` => `u32` ([#100][pr100])
|
||||
|
||||
[pr71]: https://github.com/teloxide/teloxide-core/pull/71
|
||||
[pr73]: https://github.com/teloxide/teloxide-core/pull/73
|
||||
[pr75]: https://github.com/teloxide/teloxide-core/pull/75
|
||||
[pr79]: https://github.com/teloxide/teloxide-core/pull/79
|
||||
[pr94]: https://github.com/teloxide/teloxide-core/pull/94
|
||||
[pr100]: https://github.com/teloxide/teloxide-core/pull/100
|
||||
|
||||
## [0.2.2] - 2020-03-22
|
||||
|
||||
|
|
|
@ -16,10 +16,10 @@ pub struct PhotoSize {
|
|||
pub file_unique_id: String,
|
||||
|
||||
/// Photo width.
|
||||
pub width: i32,
|
||||
pub width: u32,
|
||||
|
||||
/// Photo height.
|
||||
pub height: i32,
|
||||
pub height: u32,
|
||||
|
||||
/// File size.
|
||||
pub file_size: Option<u32>,
|
||||
|
|
Loading…
Add table
Reference in a new issue