From 075d2a5685ebd116916163d4184f53a0789b797b Mon Sep 17 00:00:00 2001 From: Tindy X <49061470+tindy2013@users.noreply.github.com> Date: Thu, 9 Dec 2021 00:13:23 +0800 Subject: Add is_automatic_forward property to Message object --- include/tgbot/types/Message.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/tgbot') diff --git a/include/tgbot/types/Message.h b/include/tgbot/types/Message.h index cde5aae..700f5d1 100644 --- a/include/tgbot/types/Message.h +++ b/include/tgbot/types/Message.h @@ -263,6 +263,11 @@ public: * @brief Optional. Inline keyboard attached to the message. login_url buttons are represented as ordinary url buttons. */ InlineKeyboardMarkup::Ptr replyMarkup; + + /** + * @brief Optional. Message is automatically forwarded from bounded channel. + */ + bool automaticForward = false; }; } -- cgit v1.2.3