Struct tbot::types::input_file::TgsSticker   
source · pub struct TgsSticker { /* private fields */ }Expand description
Represents a TGS sticker to be uploaded in a sticker set.
Implementations§
source§impl TgsSticker
 
impl TgsSticker
sourcepub fn with_bytes(bytes: impl Into<Vec<u8>>) -> Self
 
pub fn with_bytes(bytes: impl Into<Vec<u8>>) -> Self
Constructs a TgsSticker from bytes.
Trait Implementations§
source§impl Clone for TgsSticker
 
impl Clone for TgsSticker
source§fn clone(&self) -> TgsSticker
 
fn clone(&self) -> TgsSticker
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 TgsSticker
 
impl Debug for TgsSticker
source§impl From<TgsSticker> for StickerForStickerSet
 
impl From<TgsSticker> for StickerForStickerSet
source§fn from(sticker: TgsSticker) -> Self
 
fn from(sticker: TgsSticker) -> Self
Converts to this type from the input type.
source§impl Hash for TgsSticker
 
impl Hash for TgsSticker
source§impl PartialEq<TgsSticker> for TgsSticker
 
impl PartialEq<TgsSticker> for TgsSticker
source§fn eq(&self, other: &TgsSticker) -> bool
 
fn eq(&self, other: &TgsSticker) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.