mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Fix serialization of video stickers
This commit is contained in:
parent
00165e64dc
commit
9126c7db3a
2 changed files with 3 additions and 0 deletions
|
@ -23,8 +23,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- `SetWebhook` request can now properly send certificate ([#250][pr250])
|
- `SetWebhook` request can now properly send certificate ([#250][pr250])
|
||||||
|
- Serialization of `InputSticker::Webm` ([#252][pr252])
|
||||||
|
|
||||||
[pr250]: https://github.com/teloxide/teloxide-core/pull/250
|
[pr250]: https://github.com/teloxide/teloxide-core/pull/250
|
||||||
|
[pr252]: https://github.com/teloxide/teloxide-core/pull/252
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
|
|
|
@ -34,5 +34,6 @@ pub enum InputSticker {
|
||||||
/// WEBM video with the sticker, uploaded using multipart/form-data.
|
/// WEBM video with the sticker, uploaded using multipart/form-data.
|
||||||
///
|
///
|
||||||
/// See <https://core.telegram.org/stickers#video-sticker-requirements> for technical requirements.
|
/// See <https://core.telegram.org/stickers#video-sticker-requirements> for technical requirements.
|
||||||
|
#[serde(rename = "webm_sticker")]
|
||||||
Webm(InputFile),
|
Webm(InputFile),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue