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

Trait Implementations

impl Debug for UploadedDocument
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for UploadedDocument
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BareSerialize for UploadedDocument
[src]

impl BareDeserialize for UploadedDocument
[src]

impl IntoBoxed for UploadedDocument
[src]

Auto Trait Implementations