Struct tg_botapi::types::InlineQueryResultDocument [−][src]
pub struct InlineQueryResultDocument {
pub id: String,
pub title: String,
pub document_url: String,
pub mime_type: String,
pub caption: Option<String>,
pub parse_mode: ParseMode,
pub description: Option<String>,
pub reply_markup: Option<InlineKeyboardMarkup>,
pub input_message_content: Option<InputMessageContent>,
pub thumb_url: Option<String>,
pub thumb_width: Option<i64>,
pub thumb_height: Option<i64>,
}
Fields
id: String
title: String
document_url: String
mime_type: String
parse_mode: ParseMode
description: Option<String>
reply_markup: Option<InlineKeyboardMarkup>
input_message_content: Option<InputMessageContent>
thumb_url: Option<String>
thumb_width: Option<i64>
thumb_height: Option<i64>
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for InlineQueryResultDocument
impl Send for InlineQueryResultDocument
impl Sync for InlineQueryResultDocument
impl Unpin for InlineQueryResultDocument
impl UnwindSafe for InlineQueryResultDocument
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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