Fix `InlineQueryResultLocation` (Add `Option<>` to optional fields)
@@ -6,11 +6,11 @@ pub struct InlineQueryResultLocation {
pub latitude: f64,
pub longitude: f64,
pub title: String,
- pub live_period: i32,
- pub reply_markup: InlineKeyboardMarkup,
- pub input_message_content: InputMessageContent,
- pub thumb_url: String,
- pub thumb_width: i32,
- pub thumb_height: i32,
+ pub live_period: Option<i32>,
+ pub reply_markup: Option<InlineKeyboardMarkup>,
+ pub input_message_content: Option<InputMessageContent>,
+ pub thumb_url: Option<String>,
+ pub thumb_width: Option<i32>,
+ pub thumb_height: Option<i32>,
}
\ No newline at end of file
