Struct frankenstein::api_params::SendDocumentParams [−][src]
pub struct SendDocumentParams { pub chat_id: ChatId, pub document: File, pub thumb: Option<File>, pub caption: Option<String>, pub parse_mode: Option<String>, pub caption_entities: Option<Vec<MessageEntity>>, pub disable_content_type_detection: Option<bool>, pub disable_notification: Option<bool>, pub reply_to_message_id: Option<i32>, pub allow_sending_without_reply: Option<bool>, pub reply_markup: Option<ReplyMarkup>, }
Fields
chat_id: ChatId
document: File
thumb: Option<File>
parse_mode: Option<String>
disable_content_type_detection: Option<bool>
disable_notification: Option<bool>
reply_to_message_id: Option<i32>
allow_sending_without_reply: Option<bool>
reply_markup: Option<ReplyMarkup>
Implementations
pub fn set_disable_content_type_detection(
&mut self,
disable_content_type_detection: Option<bool>
)
[src]Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SendDocumentParams
impl Send for SendDocumentParams
impl Sync for SendDocumentParams
impl Unpin for SendDocumentParams
impl UnwindSafe for SendDocumentParams
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
pub fn vzip(self) -> V
impl<T> UnsafeAny for T where
T: Any,