Fix serialization of video stickers

This commit is contained in:
Maybe Waffle 2022-09-25 21:13:50 +04:00
parent 00165e64dc
commit 9126c7db3a
2 changed files with 3 additions and 0 deletions

View file

@ -23,8 +23,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- `SetWebhook` request can now properly send certificate ([#250][pr250])
- Serialization of `InputSticker::Webm` ([#252][pr252])
[pr250]: https://github.com/teloxide/teloxide-core/pull/250
[pr252]: https://github.com/teloxide/teloxide-core/pull/252
### Deprecated

View file

@ -34,5 +34,6 @@ pub enum InputSticker {
/// WEBM video with the sticker, uploaded using multipart/form-data.
///
/// See <https://core.telegram.org/stickers#video-sticker-requirements> for technical requirements.
#[serde(rename = "webm_sticker")]
Webm(InputFile),
}