diff options
author | Florian Scheibner <flo.de@hotmail.de> | 2015-11-16 14:56:02 +0100 |
---|---|---|
committer | Florian Scheibner <flo.de@hotmail.de> | 2015-11-16 14:56:02 +0100 |
commit | 0f15affd95df70c74b8d9b29eb857146152d162e (patch) | |
tree | 56407b8168ee53b1aa02746740f7c4ab77fc7134 /include | |
parent | 2f857ce94ae9fe80bb0d0bd96aa40e262a24f30a (diff) |
Fix hide_keyboard and force_reply Messages
Diffstat (limited to 'include')
-rw-r--r-- | include/tgbot/types/ForceReply.h | 2 | ||||
-rw-r--r-- | include/tgbot/types/ReplyKeyboardHide.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/tgbot/types/ForceReply.h b/include/tgbot/types/ForceReply.h index f46197a..8a946f8 100644 --- a/include/tgbot/types/ForceReply.h +++ b/include/tgbot/types/ForceReply.h @@ -50,7 +50,7 @@ public: /** * Optional. Use this parameter if you want to force reply from specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message. */ - bool selective; + bool selective = false; }; } diff --git a/include/tgbot/types/ReplyKeyboardHide.h b/include/tgbot/types/ReplyKeyboardHide.h index e4c4b20..acb0e5c 100644 --- a/include/tgbot/types/ReplyKeyboardHide.h +++ b/include/tgbot/types/ReplyKeyboardHide.h @@ -47,7 +47,7 @@ public: * Optional. Use this parameter if you want to hide keyboard for specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message. * Example: A user votes in a poll, bot returns confirmation message in reply to the vote and hides keyboard for that user, while still showing the keyboard with poll options to users who haven't voted yet. */ - bool selective; + bool selective = false; }; } |