pub struct UploadStickerFile { /* private fields */ }Expand description
Uploads a file with a sticker for later use in
the CreateNewStickerSet and AddStickerToSet methods.
The file can be used multiple times.
Implementations§
Source§impl UploadStickerFile
impl UploadStickerFile
Sourcepub fn new<T>(
user_id: Integer,
sticker: T,
sticker_format: StickerFormat,
) -> Self
pub fn new<T>( user_id: Integer, sticker: T, sticker_format: StickerFormat, ) -> Self
Creates a new UploadStickerFile.
§Arguments
user_id- User identifier of sticker file owner.sticker- A file with the sticker in WEBP, PNG, TGS, or WEBM format.sticker_format- Format of the sticker.
Trait Implementations§
Source§impl Debug for UploadStickerFile
impl Debug for UploadStickerFile
Auto Trait Implementations§
impl Freeze for UploadStickerFile
impl !RefUnwindSafe for UploadStickerFile
impl Send for UploadStickerFile
impl Sync for UploadStickerFile
impl Unpin for UploadStickerFile
impl UnsafeUnpin for UploadStickerFile
impl !UnwindSafe for UploadStickerFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more