Struct conogram::methods::send_document::SendDocumentParams
source · pub struct SendDocumentParams {Show 14 fields
pub business_connection_id: Option<String>,
pub chat_id: ChatId,
pub message_thread_id: Option<i64>,
pub document: InputFile,
pub thumbnail: Option<InputFile>,
pub caption: Option<String>,
pub parse_mode: Option<String>,
pub caption_entities: Vec<MessageEntity>,
pub disable_content_type_detection: bool,
pub disable_notification: bool,
pub protect_content: bool,
pub message_effect_id: Option<String>,
pub reply_parameters: Option<ReplyParameters>,
pub reply_markup: Option<ReplyMarkup>,
}Fields§
§business_connection_id: Option<String>§chat_id: ChatId§message_thread_id: Option<i64>§document: InputFile§thumbnail: Option<InputFile>§caption: Option<String>§parse_mode: Option<String>§caption_entities: Vec<MessageEntity>§disable_content_type_detection: bool§disable_notification: bool§protect_content: bool§message_effect_id: Option<String>§reply_parameters: Option<ReplyParameters>§reply_markup: Option<ReplyMarkup>Trait Implementations§
source§impl Clone for SendDocumentParams
impl Clone for SendDocumentParams
source§fn clone(&self) -> SendDocumentParams
fn clone(&self) -> SendDocumentParams
Returns a copy 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 SendDocumentParams
impl Debug for SendDocumentParams
Auto Trait Implementations§
impl Freeze for SendDocumentParams
impl RefUnwindSafe for SendDocumentParams
impl Send for SendDocumentParams
impl Sync for SendDocumentParams
impl Unpin for SendDocumentParams
impl UnwindSafe for SendDocumentParams
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)