diff --git a/CHANGELOG.md b/CHANGELOG.md index 343b3bfc..f51030ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/types/input_sticker.rs b/src/types/input_sticker.rs index 827194ec..f938106c 100644 --- a/src/types/input_sticker.rs +++ b/src/types/input_sticker.rs @@ -34,5 +34,6 @@ pub enum InputSticker { /// WEBM video with the sticker, uploaded using multipart/form-data. /// /// See for technical requirements. + #[serde(rename = "webm_sticker")] Webm(InputFile), }