pub struct InputPaidMediaLivePhoto {
pub media: String,
pub photo: String,
}Expand description
A live photo to send as paid media.
Both video and static photo must be file_id or attach://<n>.
Sending live photos by URL is currently unsupported.
Fields§
§media: StringVideo of the live photo: file_id or "attach://<n>".
photo: StringThe static photo: file_id or "attach://<n>".
Trait Implementations§
Source§impl Clone for InputPaidMediaLivePhoto
impl Clone for InputPaidMediaLivePhoto
Source§fn clone(&self) -> InputPaidMediaLivePhoto
fn clone(&self) -> InputPaidMediaLivePhoto
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 InputPaidMediaLivePhoto
impl Debug for InputPaidMediaLivePhoto
Source§impl<'de> Deserialize<'de> for InputPaidMediaLivePhoto
impl<'de> Deserialize<'de> for InputPaidMediaLivePhoto
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 InputPaidMediaLivePhoto
impl RefUnwindSafe for InputPaidMediaLivePhoto
impl Send for InputPaidMediaLivePhoto
impl Sync for InputPaidMediaLivePhoto
impl Unpin for InputPaidMediaLivePhoto
impl UnsafeUnpin for InputPaidMediaLivePhoto
impl UnwindSafe for InputPaidMediaLivePhoto
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