pub struct UploadStickerFile {
pub user_id: i32,
pub png_sticker: InputFile,
}
Expand description
Uploads a PNG image with a sticker; for bots only; returns the uploaded file
Fields§
§user_id: i32
Sticker file owner
png_sticker: InputFile
PNG image with the sticker; must be up to 512 kB in size and fit in 512x512 square
Trait Implementations§
Source§impl Clone for UploadStickerFile
impl Clone for UploadStickerFile
Source§fn clone(&self) -> UploadStickerFile
fn clone(&self) -> UploadStickerFile
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UploadStickerFile
impl Debug for UploadStickerFile
Source§impl<'de> Deserialize<'de> for UploadStickerFile
impl<'de> Deserialize<'de> for UploadStickerFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for UploadStickerFile
impl Method 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 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