diff options
author | kukin-konstantin <kukin.konstantin@gmail.com> | 2016-12-30 14:07:32 +0300 |
---|---|---|
committer | kukin-konstantin <kukin.konstantin@gmail.com> | 2016-12-30 14:07:32 +0300 |
commit | a071ebee5b2f6c418e7f3916bd6f50b152aaf300 (patch) | |
tree | fab4acf9468510339a0bc456a185c3f846a56dc7 /include | |
parent | 2d7d1a269383ec1db99b6759f9c58ba08d1d29fe (diff) |
edit Message type
Diffstat (limited to 'include')
-rw-r--r-- | include/tgbot/types/Message.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/tgbot/types/Message.h b/include/tgbot/types/Message.h index be1d313..415f616 100644 --- a/include/tgbot/types/Message.h +++ b/include/tgbot/types/Message.h @@ -86,6 +86,16 @@ public: User::Ptr forwardFrom; /** + * Optional. For messages forwarded from a channel, information about the original channel + */ + Chat::Ptr forwardFromChat; + + /** + * Optional. For forwarded channel posts, identifier of the original message in the channel + */ + int32_t forwardFromMessageId; + + /** * Optional. For forwarded messages, date the original message was sent in Unix time. */ int32_t forwardDate; @@ -96,6 +106,11 @@ public: Message::Ptr replyToMessage; /** + * Optional. Date the message was last edited in Unix time + */ + int32_t editDate; + + /** * Optional. For text messages, the actual UTF-8 text of the message. */ std::string text; |