@@ -180,7 +180,7 @@ friend class Bot;
180180 const std::string& text,
181181 bool disableWebPagePreview = false ,
182182 std::int32_t replyToMessageId = 0 ,
183- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
183+ GenericReply::Ptr replyMarkup = nullptr ,
184184 const std::string& parseMode = " " ,
185185 bool disableNotification = false ,
186186 const std::vector<MessageEntity::Ptr>& entities = std::vector<MessageEntity::Ptr>(),
@@ -265,7 +265,7 @@ friend class Bot;
265265 boost::variant<InputFile::Ptr, std::string> photo,
266266 const std::string& caption = " " ,
267267 std::int32_t replyToMessageId = 0 ,
268- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
268+ GenericReply::Ptr replyMarkup = nullptr ,
269269 const std::string& parseMode = " " ,
270270 bool disableNotification = false ,
271271 const std::vector<MessageEntity::Ptr>& captionEntities = std::vector<MessageEntity::Ptr>(),
@@ -307,7 +307,7 @@ friend class Bot;
307307 const std::string& title = " " ,
308308 boost::variant<InputFile::Ptr, std::string> thumb = " " ,
309309 std::int32_t replyToMessageId = 0 ,
310- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
310+ GenericReply::Ptr replyMarkup = nullptr ,
311311 const std::string& parseMode = " " ,
312312 bool disableNotification = false ,
313313 const std::vector<MessageEntity::Ptr>& captionEntities = std::vector<MessageEntity::Ptr>(),
@@ -341,7 +341,7 @@ friend class Bot;
341341 boost::variant<InputFile::Ptr, std::string> thumb = " " ,
342342 const std::string& caption = " " ,
343343 std::int32_t replyToMessageId = 0 ,
344- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
344+ GenericReply::Ptr replyMarkup = nullptr ,
345345 const std::string& parseMode = " " ,
346346 bool disableNotification = false ,
347347 const std::vector<MessageEntity::Ptr>& captionEntities = std::vector<MessageEntity::Ptr>(),
@@ -383,7 +383,7 @@ friend class Bot;
383383 boost::variant<InputFile::Ptr, std::string> thumb = " " ,
384384 const std::string& caption = " " ,
385385 std::int32_t replyToMessageId = 0 ,
386- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
386+ GenericReply::Ptr replyMarkup = nullptr ,
387387 const std::string& parseMode = " " ,
388388 bool disableNotification = false ,
389389 const std::vector<MessageEntity::Ptr>& captionEntities = std::vector<MessageEntity::Ptr>(),
@@ -422,7 +422,7 @@ friend class Bot;
422422 boost::variant<InputFile::Ptr, std::string> thumb = " " ,
423423 const std::string& caption = " " ,
424424 std::int32_t replyToMessageId = 0 ,
425- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
425+ GenericReply::Ptr replyMarkup = nullptr ,
426426 const std::string& parseMode = " " ,
427427 bool disableNotification = false ,
428428 const std::vector<MessageEntity::Ptr>& captionEntities = std::vector<MessageEntity::Ptr>(),
@@ -456,7 +456,7 @@ friend class Bot;
456456 const std::string& caption = " " ,
457457 std::int32_t duration = 0 ,
458458 std::int32_t replyToMessageId = 0 ,
459- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
459+ GenericReply::Ptr replyMarkup = nullptr ,
460460 const std::string& parseMode = " " ,
461461 bool disableNotification = false ,
462462 const std::vector<MessageEntity::Ptr>& captionEntities = std::vector<MessageEntity::Ptr>(),
@@ -490,7 +490,7 @@ friend class Bot;
490490 std::int32_t duration = 0 ,
491491 std::int32_t length = 0 ,
492492 boost::variant<InputFile::Ptr, std::string> thumb = " " ,
493- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
493+ GenericReply::Ptr replyMarkup = nullptr ,
494494 bool allowSendingWithoutReply = false ,
495495 bool protectContent = false ,
496496 std::int32_t messageThreadId = 0 ) const ;
@@ -542,7 +542,7 @@ friend class Bot;
542542 float longitude,
543543 std::int32_t livePeriod = 0 ,
544544 std::int32_t replyToMessageId = 0 ,
545- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
545+ GenericReply::Ptr replyMarkup = nullptr ,
546546 bool disableNotification = false ,
547547 float horizontalAccuracy = 0 ,
548548 std::int32_t heading = 0 ,
@@ -623,7 +623,7 @@ friend class Bot;
623623 const std::string& foursquareType = " " ,
624624 bool disableNotification = false ,
625625 std::int32_t replyToMessageId = 0 ,
626- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
626+ GenericReply::Ptr replyMarkup = nullptr ,
627627 const std::string& googlePlaceId = " " ,
628628 const std::string& googlePlaceType = " " ,
629629 bool allowSendingWithoutReply = false ,
@@ -654,7 +654,7 @@ friend class Bot;
654654 const std::string& vcard = " " ,
655655 bool disableNotification = false ,
656656 std::int32_t replyToMessageId = 0 ,
657- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
657+ GenericReply::Ptr replyMarkup = nullptr ,
658658 bool allowSendingWithoutReply = false ,
659659 bool protectContent = false ,
660660 std::int32_t messageThreadId = 0 ) const ;
@@ -689,7 +689,7 @@ friend class Bot;
689689 const std::vector<std::string>& options,
690690 bool disableNotification = false ,
691691 std::int32_t replyToMessageId = 0 ,
692- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
692+ GenericReply::Ptr replyMarkup = nullptr ,
693693 bool isAnonymous = true ,
694694 const std::string& type = " " ,
695695 bool allowsMultipleAnswers = false ,
@@ -721,7 +721,7 @@ friend class Bot;
721721 Message::Ptr sendDice (boost::variant<std::int64_t , std::string> chatId,
722722 bool disableNotification = false ,
723723 std::int32_t replyToMessageId = 0 ,
724- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
724+ GenericReply::Ptr replyMarkup = nullptr ,
725725 const std::string& emoji = " " ,
726726 bool allowSendingWithoutReply = false ,
727727 bool protectContent = false ,
@@ -1400,7 +1400,7 @@ friend class Bot;
14001400 const std::string& inlineMessageId = " " ,
14011401 const std::string& parseMode = " " ,
14021402 bool disableWebPagePreview = false ,
1403- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
1403+ GenericReply::Ptr replyMarkup = nullptr ,
14041404 const std::vector<MessageEntity::Ptr>& entities = std::vector<MessageEntity::Ptr>()) const ;
14051405
14061406 /* *
@@ -1420,7 +1420,7 @@ friend class Bot;
14201420 std::int32_t messageId = 0 ,
14211421 const std::string& caption = " " ,
14221422 const std::string& inlineMessageId = " " ,
1423- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
1423+ GenericReply::Ptr replyMarkup = nullptr ,
14241424 const std::string& parseMode = " " ,
14251425 const std::vector<MessageEntity::Ptr>& captionEntities = std::vector<MessageEntity::Ptr>()) const ;
14261426
@@ -1442,7 +1442,7 @@ friend class Bot;
14421442 boost::variant<std::int64_t , std::string> chatId = 0 ,
14431443 std::int32_t messageId = 0 ,
14441444 const std::string& inlineMessageId = " " ,
1445- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ) const ;
1445+ GenericReply::Ptr replyMarkup = nullptr ) const ;
14461446
14471447 /* *
14481448 * @brief Use this method to edit only the reply markup of messages.
@@ -1457,7 +1457,7 @@ friend class Bot;
14571457 Message::Ptr editMessageReplyMarkup (boost::variant<std::int64_t , std::string> chatId = 0 ,
14581458 std::int32_t messageId = 0 ,
14591459 const std::string& inlineMessageId = " " ,
1460- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ) const ;
1460+ GenericReply::Ptr replyMarkup = nullptr ) const ;
14611461
14621462 /* *
14631463 * @brief Use this method to stop a poll which was sent by the bot.
@@ -1509,7 +1509,7 @@ friend class Bot;
15091509 Message::Ptr sendSticker (boost::variant<std::int64_t , std::string> chatId,
15101510 boost::variant<InputFile::Ptr, std::string> sticker,
15111511 std::int32_t replyToMessageId = 0 ,
1512- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
1512+ GenericReply::Ptr replyMarkup = nullptr ,
15131513 bool disableNotification = false ,
15141514 bool allowSendingWithoutReply = false ,
15151515 bool protectContent = false ,
@@ -1722,7 +1722,7 @@ friend class Bot;
17221722 bool sendEmailToProvider = false ,
17231723 bool isFlexible = false ,
17241724 std::int32_t replyToMessageId = 0 ,
1725- GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>() ,
1725+ GenericReply::Ptr replyMarkup = nullptr ,
17261726 bool disableNotification = false ,
17271727 bool allowSendingWithoutReply = false ,
17281728 std::int32_t maxTipAmount = 0 ,
0 commit comments