pub struct SendMessage {Show 21 fields
pub no_webpage: bool,
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 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.sendMessage#545cd15a flags:# no_webpage:flags.1?true 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 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§
§no_webpage: bool§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>§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 Clone for SendMessage
impl Clone for SendMessage
Source§fn clone(&self) -> SendMessage
fn clone(&self) -> SendMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SendMessage
impl Debug for SendMessage
Source§impl Identifiable for SendMessage
impl Identifiable for SendMessage
Source§const CONSTRUCTOR_ID: u32 = 0x545cd15a
const CONSTRUCTOR_ID: u32 = 0x545cd15a
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SendMessage
impl PartialEq for SendMessage
Source§impl RemoteCall for SendMessage
impl RemoteCall for SendMessage
Source§impl Serializable for SendMessage
impl Serializable for SendMessage
impl StructuralPartialEq for SendMessage
Auto Trait Implementations§
impl Freeze for SendMessage
impl RefUnwindSafe for SendMessage
impl Send for SendMessage
impl Sync for SendMessage
impl Unpin for SendMessage
impl UnsafeUnpin for SendMessage
impl UnwindSafe for SendMessage
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