mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-11 04:21:12 +01:00
TBA 5.7: Add Sticker{,Set}::is_video
This commit is contained in:
parent
6384560195
commit
044f33551e
2 changed files with 10 additions and 0 deletions
|
@ -27,6 +27,11 @@ pub struct Sticker {
|
|||
/// [animated]: https://telegram.org/blog/animated-stickers
|
||||
pub is_animated: bool,
|
||||
|
||||
/// `true`, if the sticker is a [video sticker].
|
||||
///
|
||||
/// [video sticker]: https://telegram.org/blog/video-stickers-better-reactions
|
||||
pub is_video: bool,
|
||||
|
||||
/// Sticker thumbnail in the .webp or .jpg format.
|
||||
pub thumb: Option<PhotoSize>,
|
||||
|
||||
|
|
|
@ -18,6 +18,11 @@ pub struct StickerSet {
|
|||
/// [animates stickers]: https://telegram.org/blog/animated-stickers
|
||||
pub is_animated: bool,
|
||||
|
||||
/// `true`, if the sticker is a [video sticker].
|
||||
///
|
||||
/// [video sticker]: https://telegram.org/blog/video-stickers-better-reactions
|
||||
pub is_video: bool,
|
||||
|
||||
/// `true`, if the sticker set contains masks.
|
||||
pub contains_masks: bool,
|
||||
|
||||
|
|
Loading…
Reference in a new issue