Struct clacks_mtproto::mtproto::rpc::messages::SendMedia [] [src]

pub struct SendMedia {
    pub silent: bool,
    pub background: bool,
    pub clear_draft: bool,
    pub peer: InputPeer,
    pub reply_to_msg_id: Option<int>,
    pub media: InputMedia,
    pub random_id: long,
    pub reply_markup: Option<ReplyMarkup>,
}

TL-derived from messages.sendMedia

messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates;

Fields

Trait Implementations

impl Debug for SendMedia
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for SendMedia
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BoxedSerialize for SendMedia
[src]

[src]

[src]

impl Function for SendMedia
[src]

impl BareSerialize for SendMedia
[src]

Auto Trait Implementations

impl Send for SendMedia

impl Sync for SendMedia