From ed15ab37f75bda7d9db0a17f3d6744c119851497 Mon Sep 17 00:00:00 2001 From: Bader Date: Sun, 24 Sep 2023 21:46:23 +0100 Subject: [PATCH] Uncommented fields in Message object since they're available now. --- include/tgbotxx/objects/Message.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/tgbotxx/objects/Message.hpp b/include/tgbotxx/objects/Message.hpp index f2252e84a..cc507c695 100644 --- a/include/tgbotxx/objects/Message.hpp +++ b/include/tgbotxx/objects/Message.hpp @@ -1,6 +1,7 @@ #pragma once #include #include +#include #include #include #include @@ -60,20 +61,20 @@ namespace tgbotxx { /// the channel itself for channel posts, the supergroup itself for messages from anonymous group administrators, /// the linked channel for messages automatically forwarded to the discussion group. For backward compatibility, /// the field from contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat. - // Ptr senderChat; + Ptr senderChat; /// @brief Date the message was sent in Unix time std::time_t date; /// @brief Conversation the message belongs to - // Ptr chat; + Ptr chat; /// @brief Optional. For forwarded messages, sender of the original message Ptr forwardFrom; /// @brief For messages forwarded from channels or from anonymous administrators, /// information about the original sender chat - // Ptr forwardFromChat; + Ptr forwardFromChat; /// @brief Optional. For messages forwarded from channels, identifier of the original message in the channel std::int64_t forwardFromMessageId;