@@ -134,7 +134,7 @@ pub struct InlineQueryResultArticle {
134134 pub input_message_content : InputMessageContent ,
135135 /// Inline keyboard attached to the message
136136 #[ serde( skip_serializing_if = "Option::is_none" ) ]
137- pub reply_markup : Option < ReplyMarkup > ,
137+ pub reply_markup : Option < InlineKeyboardMarkup > ,
138138 /// URL of the result
139139 #[ serde( skip_serializing_if = "Option::is_none" ) ]
140140 pub url : Option < String > ,
@@ -183,7 +183,7 @@ pub struct InlineQueryResultPhoto {
183183 pub parse_mode : Option < ParseMode > ,
184184 /// Inline keyboard attached to the message
185185 #[ serde( skip_serializing_if = "Option::is_none" ) ]
186- pub reply_markup : Option < ReplyMarkup > ,
186+ pub reply_markup : Option < InlineKeyboardMarkup > ,
187187 /// Content of the message to be sent
188188 #[ serde( skip_serializing_if = "Option::is_none" ) ]
189189 pub input_message_content : Option < InputMessageContent > ,
@@ -217,7 +217,7 @@ pub struct InlineQueryResultGif {
217217 pub parse_mode : Option < ParseMode > ,
218218 /// Inline keyboard attached to the message
219219 #[ serde( skip_serializing_if = "Option::is_none" ) ]
220- pub reply_markup : Option < ReplyMarkup > ,
220+ pub reply_markup : Option < InlineKeyboardMarkup > ,
221221 /// Content of the message to be sent
222222 #[ serde( skip_serializing_if = "Option::is_none" ) ]
223223 pub input_message_content : Option < InputMessageContent > ,
@@ -250,7 +250,7 @@ pub struct InlineQueryResultMpeg4Gif {
250250 pub parse_mode : Option < ParseMode > ,
251251 /// Inline keyboard attached to the message
252252 #[ serde( skip_serializing_if = "Option::is_none" ) ]
253- pub reply_markup : Option < ReplyMarkup > ,
253+ pub reply_markup : Option < InlineKeyboardMarkup > ,
254254 /// Content of the message to be sent
255255 #[ serde( skip_serializing_if = "Option::is_none" ) ]
256256 pub input_message_content : Option < InputMessageContent > ,
@@ -288,7 +288,7 @@ pub struct InlineQueryResultVideo {
288288 pub description : Option < String > ,
289289 /// Inline keyboard attached to the message
290290 #[ serde( skip_serializing_if = "Option::is_none" ) ]
291- pub reply_markup : Option < ReplyMarkup > ,
291+ pub reply_markup : Option < InlineKeyboardMarkup > ,
292292 /// Content of the message to be sent
293293 #[ serde( skip_serializing_if = "Option::is_none" ) ]
294294 pub input_message_content : Option < InputMessageContent > ,
@@ -315,7 +315,7 @@ pub struct InlineQueryResultAudio {
315315 pub audio_duration : Option < Integer > ,
316316 /// Inline keyboard attached to the message
317317 #[ serde( skip_serializing_if = "Option::is_none" ) ]
318- pub reply_markup : Option < ReplyMarkup > ,
318+ pub reply_markup : Option < InlineKeyboardMarkup > ,
319319 /// Content of the message to be sent
320320 #[ serde( skip_serializing_if = "Option::is_none" ) ]
321321 pub input_message_content : Option < InputMessageContent > ,
@@ -339,7 +339,7 @@ pub struct InlineQueryResultVoice {
339339 pub audio_duration : Option < Integer > ,
340340 /// Inline keyboard attached to the message
341341 #[ serde( skip_serializing_if = "Option::is_none" ) ]
342- pub reply_markup : Option < ReplyMarkup > ,
342+ pub reply_markup : Option < InlineKeyboardMarkup > ,
343343 /// Content of the message to be sent
344344 #[ serde( skip_serializing_if = "Option::is_none" ) ]
345345 pub input_message_content : Option < InputMessageContent > ,
@@ -366,7 +366,7 @@ pub struct InlineQueryResultDocument {
366366 pub description : Option < String > ,
367367 /// Inline keyboard attached to the message
368368 #[ serde( skip_serializing_if = "Option::is_none" ) ]
369- pub reply_markup : Option < ReplyMarkup > ,
369+ pub reply_markup : Option < InlineKeyboardMarkup > ,
370370 /// Content of the message to be sent
371371 #[ serde( skip_serializing_if = "Option::is_none" ) ]
372372 pub input_message_content : Option < InputMessageContent > ,
@@ -396,7 +396,7 @@ pub struct InlineQueryResultLocation {
396396 pub live_period : Option < Integer > ,
397397 /// Inline keyboard attached to the message
398398 #[ serde( skip_serializing_if = "Option::is_none" ) ]
399- pub reply_markup : Option < ReplyMarkup > ,
399+ pub reply_markup : Option < InlineKeyboardMarkup > ,
400400 /// Content of the message to be sent
401401 #[ serde( skip_serializing_if = "Option::is_none" ) ]
402402 pub input_message_content : Option < InputMessageContent > ,
@@ -432,7 +432,7 @@ pub struct InlineQueryResultVenue {
432432 pub foursquare_type : Option < String > ,
433433 /// Inline keyboard attached to the message
434434 #[ serde( skip_serializing_if = "Option::is_none" ) ]
435- pub reply_markup : Option < ReplyMarkup > ,
435+ pub reply_markup : Option < InlineKeyboardMarkup > ,
436436 /// Content of the message to be sent
437437 #[ serde( skip_serializing_if = "Option::is_none" ) ]
438438 pub input_message_content : Option < InputMessageContent > ,
@@ -461,7 +461,7 @@ pub struct InlineQueryResultContact {
461461 pub vcard : String ,
462462 /// Inline keyboard attached to the message
463463 #[ serde( skip_serializing_if = "Option::is_none" ) ]
464- pub reply_markup : Option < ReplyMarkup > ,
464+ pub reply_markup : Option < InlineKeyboardMarkup > ,
465465 /// Content of the message to be sent
466466 #[ serde( skip_serializing_if = "Option::is_none" ) ]
467467 pub input_message_content : Option < InputMessageContent > ,
@@ -484,7 +484,7 @@ pub struct InlineQueryResultGame {
484484 pub game_short_name : String ,
485485 /// Inline keyboard attached to the message
486486 #[ serde( skip_serializing_if = "Option::is_none" ) ]
487- pub reply_markup : Option < ReplyMarkup > ,
487+ pub reply_markup : Option < InlineKeyboardMarkup > ,
488488}
489489
490490#[ derive( Serialize , Debug ) ]
@@ -507,7 +507,7 @@ pub struct InlineQueryResultCachedPhoto {
507507 pub parse_mode : Option < ParseMode > ,
508508 /// Inline keyboard attached to the message
509509 #[ serde( skip_serializing_if = "Option::is_none" ) ]
510- pub reply_markup : Option < ReplyMarkup > ,
510+ pub reply_markup : Option < InlineKeyboardMarkup > ,
511511 /// Content of the message to be sent
512512 #[ serde( skip_serializing_if = "Option::is_none" ) ]
513513 pub input_message_content : Option < InputMessageContent > ,
@@ -530,7 +530,7 @@ pub struct InlineQueryResultCachedGif {
530530 pub parse_mode : Option < ParseMode > ,
531531 /// Inline keyboard attached to the message
532532 #[ serde( skip_serializing_if = "Option::is_none" ) ]
533- pub reply_markup : Option < ReplyMarkup > ,
533+ pub reply_markup : Option < InlineKeyboardMarkup > ,
534534 /// Content of the message to be sent
535535 #[ serde( skip_serializing_if = "Option::is_none" ) ]
536536 pub input_message_content : Option < InputMessageContent > ,
@@ -553,7 +553,7 @@ pub struct InlineQueryResultCachedMpeg4Gif {
553553 pub parse_mode : Option < ParseMode > ,
554554 /// Inline keyboard attached to the message
555555 #[ serde( skip_serializing_if = "Option::is_none" ) ]
556- pub reply_markup : Option < ReplyMarkup > ,
556+ pub reply_markup : Option < InlineKeyboardMarkup > ,
557557 /// Content of the message to be sent
558558 #[ serde( skip_serializing_if = "Option::is_none" ) ]
559559 pub input_message_content : Option < InputMessageContent > ,
@@ -567,7 +567,7 @@ pub struct InlineQueryResultCachedSticker {
567567 pub sticker_file_id : String ,
568568 /// Inline keyboard attached to the message
569569 #[ serde( skip_serializing_if = "Option::is_none" ) ]
570- pub reply_markup : Option < ReplyMarkup > ,
570+ pub reply_markup : Option < InlineKeyboardMarkup > ,
571571 /// Content of the message to be sent
572572 #[ serde( skip_serializing_if = "Option::is_none" ) ]
573573 pub input_message_content : Option < InputMessageContent > ,
@@ -592,7 +592,7 @@ pub struct InlineQueryResultCachedDocument {
592592 pub parse_mode : Option < ParseMode > ,
593593 /// Inline keyboard attached to the message
594594 #[ serde( skip_serializing_if = "Option::is_none" ) ]
595- pub reply_markup : Option < ReplyMarkup > ,
595+ pub reply_markup : Option < InlineKeyboardMarkup > ,
596596 /// Content of the message to be sent
597597 #[ serde( skip_serializing_if = "Option::is_none" ) ]
598598 pub input_message_content : Option < InputMessageContent > ,
@@ -617,7 +617,7 @@ pub struct InlineQueryResultCachedVideo {
617617 pub parse_mode : Option < ParseMode > ,
618618 /// Inline keyboard attached to the message
619619 #[ serde( skip_serializing_if = "Option::is_none" ) ]
620- pub reply_markup : Option < ReplyMarkup > ,
620+ pub reply_markup : Option < InlineKeyboardMarkup > ,
621621 /// Content of the message to be sent
622622 #[ serde( skip_serializing_if = "Option::is_none" ) ]
623623 pub input_message_content : Option < InputMessageContent > ,
@@ -639,7 +639,7 @@ pub struct InlineQueryResultCachedVoice {
639639 pub parse_mode : Option < ParseMode > ,
640640 /// Inline keyboard attached to the message
641641 #[ serde( skip_serializing_if = "Option::is_none" ) ]
642- pub reply_markup : Option < ReplyMarkup > ,
642+ pub reply_markup : Option < InlineKeyboardMarkup > ,
643643 /// Content of the message to be sent
644644 #[ serde( skip_serializing_if = "Option::is_none" ) ]
645645 pub input_message_content : Option < InputMessageContent > ,
@@ -659,7 +659,7 @@ pub struct InlineQueryResultCachedAudio {
659659 pub parse_mode : Option < ParseMode > ,
660660 /// Inline keyboard attached to the message
661661 #[ serde( skip_serializing_if = "Option::is_none" ) ]
662- pub reply_markup : Option < ReplyMarkup > ,
662+ pub reply_markup : Option < InlineKeyboardMarkup > ,
663663 /// Content of the message to be sent
664664 #[ serde( skip_serializing_if = "Option::is_none" ) ]
665665 pub input_message_content : Option < InputMessageContent > ,
@@ -685,7 +685,7 @@ impl InlineQueryResultArticle {
685685 }
686686 }
687687
688- pub fn reply_markup < T : Into < ReplyMarkup > > ( & mut self , reply_markup : T ) -> & mut Self {
688+ pub fn reply_markup < T : Into < InlineKeyboardMarkup > > ( & mut self , reply_markup : T ) -> & mut Self {
689689 self . reply_markup = Some ( reply_markup. into ( ) ) ;
690690 self
691691 }
0 commit comments