Struct tg_botapi::methods::SendDocument [−][src]
pub struct SendDocument {
pub chat_id: ChatId,
pub document: InputFile,
pub thumb: Option<InputFile>,
pub caption: Option<String>,
pub parse_mode: ParseMode,
pub disable_notification: Option<bool>,
pub reply_to_message_id: Option<i64>,
pub reply_markup: Option<ReplyMarkup>,
}
Fields
chat_id: ChatId
document: InputFile
thumb: Option<InputFile>
parse_mode: ParseMode
disable_notification: Option<bool>
reply_to_message_id: Option<i64>
reply_markup: Option<ReplyMarkup>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SendDocument
impl Send for SendDocument
impl Sync for SendDocument
impl Unpin for SendDocument
impl UnwindSafe for SendDocument
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more