pub struct InputMediaSticker {
pub media: String,
pub emoji: Option<String>,
}Expand description
A sticker file to be sent as poll option media.
Fields§
§media: StringFile to send: file_id, HTTP URL, or "attach://<n>".
emoji: Option<String>Emoji associated with the sticker; only for just-uploaded stickers.
Trait Implementations§
Source§impl Clone for InputMediaSticker
impl Clone for InputMediaSticker
Source§fn clone(&self) -> InputMediaSticker
fn clone(&self) -> InputMediaSticker
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InputMediaSticker
impl Debug for InputMediaSticker
Source§impl<'de> Deserialize<'de> for InputMediaSticker
impl<'de> Deserialize<'de> for InputMediaSticker
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
Auto Trait Implementations§
impl Freeze for InputMediaSticker
impl RefUnwindSafe for InputMediaSticker
impl Send for InputMediaSticker
impl Sync for InputMediaSticker
impl Unpin for InputMediaSticker
impl UnsafeUnpin for InputMediaSticker
impl UnwindSafe for InputMediaSticker
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