pub struct InputChatPhotoAnimation {
pub animation: InputFile,
pub main_frame_timestamp: f64,
}
Expand description
An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 1280 and be at most 2MB in size
Fields§
§animation: InputFile
Animation to be set as profile photo. Only inputFileLocal and inputFileGenerated are allowed
main_frame_timestamp: f64
Timestamp of the frame, which will be used as static chat photo
Trait Implementations§
Source§impl Clone for InputChatPhotoAnimation
impl Clone for InputChatPhotoAnimation
Source§fn clone(&self) -> InputChatPhotoAnimation
fn clone(&self) -> InputChatPhotoAnimation
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 InputChatPhotoAnimation
impl Debug for InputChatPhotoAnimation
Source§impl<'de> Deserialize<'de> for InputChatPhotoAnimation
impl<'de> Deserialize<'de> for InputChatPhotoAnimation
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 InputChatPhotoAnimation
impl PartialEq for InputChatPhotoAnimation
Source§impl Serialize for InputChatPhotoAnimation
impl Serialize for InputChatPhotoAnimation
impl StructuralPartialEq for InputChatPhotoAnimation
Auto Trait Implementations§
impl Freeze for InputChatPhotoAnimation
impl RefUnwindSafe for InputChatPhotoAnimation
impl Send for InputChatPhotoAnimation
impl Sync for InputChatPhotoAnimation
impl Unpin for InputChatPhotoAnimation
impl UnwindSafe for InputChatPhotoAnimation
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