pub struct NewSticker {
pub file: FileSource,
pub filename: String,
pub format: &'static str,
pub emoji: String,
/* private fields */
}Expand description
A sticker being added to a set — the file plus its InputSticker
metadata.
Fields§
§file: FileSourceThe sticker image/animation bytes (.png/.webp static, .tgs
animated, .webm video).
filename: StringFile name hint for the upload part.
format: &'static strTelegram sticker format: static, animated, or video.
emoji: StringThe emoji the sticker is associated with.
Implementations§
Auto Trait Implementations§
impl !Freeze for NewSticker
impl !RefUnwindSafe for NewSticker
impl !UnwindSafe for NewSticker
impl Send for NewSticker
impl Sync for NewSticker
impl Unpin for NewSticker
impl UnsafeUnpin for NewSticker
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