Struct tg_botapi::types::InputMediaDocument [−][src]
pub struct InputMediaDocument {
pub media: String,
pub thumb: Option<InputFile>,
pub caption: Option<String>,
pub parse_mode: ParseMode,
}
Fields
media: String
thumb: Option<InputFile>
parse_mode: ParseMode
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InputMediaDocument
impl Send for InputMediaDocument
impl Sync for InputMediaDocument
impl Unpin for InputMediaDocument
impl UnwindSafe for InputMediaDocument
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