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
silent: bool
background: bool
clear_draft: bool
peer: InputPeer
reply_to_msg_id: Option<int>
media: InputMedia
random_id: long
reply_markup: Option<ReplyMarkup>
Trait Implementations
impl Debug for SendMedia
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for SendMedia
[src]
fn clone(&self) -> SendMedia
[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
impl BoxedSerialize for SendMedia
[src]
fn serialize_boxed<'this>(
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
[src]
&'this self
) -> (ConstructorNumber, &'this BareSerialize)