pub struct SendMedia {Show 21 fields
pub silent: bool,
pub background: bool,
pub clear_draft: bool,
pub noforwards: bool,
pub update_stickersets_order: bool,
pub invert_media: bool,
pub allow_paid_floodskip: bool,
pub peer: InputPeer,
pub reply_to: Option<InputReplyTo>,
pub media: InputMedia,
pub message: String,
pub random_id: i64,
pub reply_markup: Option<ReplyMarkup>,
pub entities: Option<Vec<MessageEntity>>,
pub schedule_date: Option<i32>,
pub schedule_repeat_period: Option<i32>,
pub send_as: Option<InputPeer>,
pub quick_reply_shortcut: Option<InputQuickReplyShortcut>,
pub effect: Option<i64>,
pub allow_paid_stars: Option<i64>,
pub suggested_post: Option<SuggestedPost>,
}Expand description
Generated from:
messages.sendMedia#330e77f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true allow_paid_floodskip:flags.19?true peer:InputPeer reply_to:flags.0?InputReplyTo media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int schedule_repeat_period:flags.24?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long allow_paid_stars:flags.21?long suggested_post:flags.22?SuggestedPost = UpdatesFields§
§silent: bool§background: bool§clear_draft: bool§noforwards: bool§update_stickersets_order: bool§invert_media: bool§allow_paid_floodskip: bool§peer: InputPeer§reply_to: Option<InputReplyTo>§media: InputMedia§message: String§random_id: i64§reply_markup: Option<ReplyMarkup>§entities: Option<Vec<MessageEntity>>§schedule_date: Option<i32>§schedule_repeat_period: Option<i32>§send_as: Option<InputPeer>§quick_reply_shortcut: Option<InputQuickReplyShortcut>§effect: Option<i64>§allow_paid_stars: Option<i64>§suggested_post: Option<SuggestedPost>Trait Implementations§
Source§impl Identifiable for SendMedia
impl Identifiable for SendMedia
Source§const CONSTRUCTOR_ID: u32 = 0x0330e77f
const CONSTRUCTOR_ID: u32 = 0x0330e77f
The constructor ID as specified in the TL schema.
Source§impl Serializable for SendMedia
impl Serializable for SendMedia
impl StructuralPartialEq for SendMedia
Auto Trait Implementations§
impl Freeze for SendMedia
impl RefUnwindSafe for SendMedia
impl Send for SendMedia
impl Sync for SendMedia
impl Unpin for SendMedia
impl UnsafeUnpin for SendMedia
impl UnwindSafe for SendMedia
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