summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrea Giove <andreagiove@outlook.com>2016-03-26 19:16:34 +0100
committerAndrea Giove <andreagiove@outlook.com>2016-03-26 19:16:34 +0100
commit67a543eb596b68a166d7f790ea27d5d4e70e10b7 (patch)
tree56d95d43f2353500794ccc51fce03eb4295d1d77 /include
parent2195ce0768fa8903633164c0c45060c412cd5670 (diff)
Updated Message class
Diffstat (limited to 'include')
-rw-r--r--include/tgbot/types/Message.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/tgbot/types/Message.h b/include/tgbot/types/Message.h
index daedf03..ea53cf3 100644
--- a/include/tgbot/types/Message.h
+++ b/include/tgbot/types/Message.h
@@ -114,6 +114,8 @@ public:
*/
Video::Ptr video;
+ // TODO voice
+
/**
* Optional. Message is a shared contact, information about the contact.
*/
@@ -158,6 +160,27 @@ public:
* Optional. Text description of the photo or the video.
*/
std::string caption;
+
+ /**
+ * Optional. Service message: the supergroup has been created.
+ */
+ bool supergroupChatCreated;
+
+ /**
+ * Optional. Service message: the channel has been created.
+ */
+ bool channelChatCreated;
+
+ /**
+ * Optional. The group has been migrated to a supergroup with the specified identifier, not exceeding 1e13 by absolute value.
+ */
+ int64_t migrateToChatId;
+
+ /**
+ * Optional. The supergroup has been migrated from a group with the specified identifier, not exceeding 1e13 by absolute value
+ */
+ int64_t migrateFromChatId;
+
};
}