pub struct InputStoryContentPhoto {
pub photo: InputFile,
pub added_sticker_file_ids: Vec<i32>,
}
Expand description
A photo story
Fields§
§photo: InputFile
Photo to send. The photo must be at most 10 MB in size. The photo size must be 1080x1920
added_sticker_file_ids: Vec<i32>
File identifiers of the stickers added to the photo, if applicable
Trait Implementations§
Source§impl Clone for InputStoryContentPhoto
impl Clone for InputStoryContentPhoto
Source§fn clone(&self) -> InputStoryContentPhoto
fn clone(&self) -> InputStoryContentPhoto
Returns a duplicate 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 InputStoryContentPhoto
impl Debug for InputStoryContentPhoto
Source§impl<'de> Deserialize<'de> for InputStoryContentPhoto
impl<'de> Deserialize<'de> for InputStoryContentPhoto
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 PartialEq for InputStoryContentPhoto
impl PartialEq for InputStoryContentPhoto
Source§impl Serialize for InputStoryContentPhoto
impl Serialize for InputStoryContentPhoto
impl StructuralPartialEq for InputStoryContentPhoto
Auto Trait Implementations§
impl Freeze for InputStoryContentPhoto
impl RefUnwindSafe for InputStoryContentPhoto
impl Send for InputStoryContentPhoto
impl Sync for InputStoryContentPhoto
impl Unpin for InputStoryContentPhoto
impl UnwindSafe for InputStoryContentPhoto
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