summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOleg Morozenkov <m@oleg.rocks>2021-12-08 17:52:43 +0100
committerGitHub <noreply@github.com>2021-12-08 17:52:43 +0100
commitf74c3812a58086aa2a62d8ecfaeee97f493c803e (patch)
tree5af7cd245ba26d95c97096ccc61f71166c34cf58 /include
parent6b38783cd1f6ef6292cdf972a35ba4b79e482aa9 (diff)
parent075d2a5685ebd116916163d4184f53a0789b797b (diff)
Merge pull request #190 from tindy2013/master
Add is_automatic_forward property to Message object
Diffstat (limited to 'include')
-rw-r--r--include/tgbot/types/Message.h5
1 files changed, 5 insertions, 0 deletions
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;
};
}