Struct clacks_mtproto::mtproto::input_media::UploadedDocument
[−]
[src]
pub struct UploadedDocument { pub nosound_video: bool, pub file: InputFile, pub thumb: Option<InputFile>, pub mime_type: string, pub attributes: Vector<Boxed, DocumentAttribute>, pub caption: string, pub stickers: Option<Vector<Boxed, InputDocument>>, pub ttl_seconds: Option<int>, }
TL-derived from inputMediaUploadedDocument
inputMediaUploadedDocument#e39621fd flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;
Fields
nosound_video: bool
file: InputFile
thumb: Option<InputFile>
mime_type: string
attributes: Vector<Boxed, DocumentAttribute>
caption: string
stickers: Option<Vector<Boxed, InputDocument>>
ttl_seconds: Option<int>
Trait Implementations
impl Debug for UploadedDocument
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for UploadedDocument
[src]
fn clone(&self) -> UploadedDocument
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more