Merge pull request #252 from teloxide/webm_sticker_fix

Fix serialization of video stickers
This commit is contained in:
Waffle Maybe 2022-10-01 15:09:04 +04:00 committed by GitHub
commit 021ad7b6cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -27,8 +27,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),
}