mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Remove future 'format' field from InputSticker
This commit is contained in:
parent
eb1f098302
commit
0bbc789caa
2 changed files with 1 additions and 6 deletions
|
@ -155,7 +155,6 @@ mod tests {
|
|||
"../../media/
|
||||
teloxide-core-logo.png",
|
||||
),
|
||||
format: StickerFormat::Static,
|
||||
emoji_list: vec!["✈️⚙️".to_owned()],
|
||||
keywords: None,
|
||||
mask_position: None,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use serde::Serialize;
|
||||
|
||||
use crate::types::{InputFile, MaskPosition, StickerFormat};
|
||||
use crate::types::{InputFile, MaskPosition};
|
||||
|
||||
/// This object describes a sticker to be added to a sticker set.
|
||||
#[serde_with_macros::skip_serializing_none]
|
||||
|
@ -16,10 +16,6 @@ pub struct InputSticker {
|
|||
/// More information on Sending Files <https://core.telegram.org/bots/api#sending-files>
|
||||
pub sticker: InputFile,
|
||||
|
||||
/// Format of the added sticker, must be one of “static” for a .WEBP or .PNG
|
||||
/// image, “animated” for a .TGS animation, “video” for a WEBM video
|
||||
pub format: StickerFormat,
|
||||
|
||||
/// List of 1-20 emoji associated with the sticker
|
||||
pub emoji_list: Vec<String>,
|
||||
|
||||
|
|
Loading…
Reference in a new issue