mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 17:52:12 +01:00
Fix InlineQueryResultLocation
(Add Option<>
to optional fields)
This commit is contained in:
parent
685d19dc34
commit
f96f9a3a2b
1 changed files with 6 additions and 6 deletions
|
@ -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>,
|
||||
|
||||
}
|
Loading…
Reference in a new issue